Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (16) | Download .zip | Reputation | Support forum | Blog (1) | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2021-08-09 (1 month ago) | Not yet rated by the users | Total: 110 This week: 12 | All time: 9,388 This week: 13 |
Version | License | PHP version | Categories | |||
picpurify 1.0.0 | MIT/X Consortium ... | 5 | PHP 5, Graphics, Web services, Artifi... |
Description | Author | |||
This package can analyze picture to detect alarming characteristics. Innovation Award
|
> Work in progress
$picpurify = new \IsaEken\Picpurify\Picpurify;
$picpurify
->setApiKey('api-key')
->setTasks([
\IsaEken\Picpurify\Tasks::DrugModeration,
\IsaEken\Picpurify\Tasks::GoreModeration,
\IsaEken\Picpurify\Tasks::PornModeration,
])
->setImage(\IsaEken\Picpurify\Image::createFromUrl('https://example.com/example.jpg'));
$response = $picpurify->run();
$response->getStatus();
$response->getTime();
$response->getMedia();
$response->getModerations();
$response->getModeration(\IsaEken\Picpurify\Tasks::DrugModeration)->detection;
$response->getData();
MIT
Files |
File | Role | Description | ||
---|---|---|---|---|
src (5 files, 2 directories) | ||||
tests (1 file, 1 directory) | ||||
composer.json | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Models (3 files) | ||||
Traits (3 files) | ||||
Factory.php | Class | Class source | ||
Image.php | Class | Class source | ||
Picpurify.php | Class | Class source | ||
Response.php | Class | Class source | ||
Tasks.php | Class | Class source |
Files | / | src | / | Models |
File | Role | Description |
---|---|---|
Media.php | Class | Class source |
Model.php | Class | Class source |
Moderation.php | Class | Class source |
Files | / | src | / | Traits |
File | Role | Description |
---|---|---|
HasAttributes.php | Class | Class source |
HasGuzzleClient.php | Class | Class source |
HasTasks.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.