inccleo/green

阿里云内容安全

This package's canonical repository appears to be gone and the package has been frozen as a result.

0.01 2020-11-14 10:39 UTC

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:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. 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