inccleo / green
阿里云内容安全
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 2 694
Dependents: 0
Suggesters: 0
Security: 0
Stars: 24
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- alibabacloud/sdk: ^1.8
This package is not auto-updated.
Last update: 2023-03-05 20:39:02 UTC
README
Installing
$ composer require inccleo/green -vvv
引用
use Leo\Green\Green;
$obj = new Green('accessKeyId','accessKeySecret');
文本内容检测
$msg = $obj->textScan("妈*");
图片同步内容检测
print_r($obj->imageScan($url));
视频检测
print_r($obj->VideoScan('视频url'));
查询视频异测结果
print_r($obj->VideoResults('taskId'));
Usage
TODO
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT