basilicom-pimcore-plugin / computer-vision
A Pimcore plugin that analyzes images via Computer Vision API (Microsoft Cognitive Services)
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 3
Type:pimcore-plugin
Requires
- guzzlehttp/guzzle: ~6.2
- pimcore/installer-plugin: >=1
This package is auto-updated.
Last update: 2024-11-09 22:17:58 UTC
README
Developer info: Pimcore at basilicom
Synopsis
This plugin adds a new button 'Computer Vision' in the asset detail view. By clicking this button the asset (in case it's a folder - all child assets) gets analyzed by Microsoft Computer Vision API (https://www.microsoft.com/cognitive-services/en-us/computer-vision-api) and the result is saved as Asset Metadata.
Please note, that unsaved changes get lost by clicking the Computer Vision button, because the asset tab reloads to display the Computer Vision metadata.
Installation
Add the "basilicom-de/pimcore-plugin-computervision" repository to the composer.json in the toplevel directory of your pimcore installation. Then enable and install the plugin in Pimcore Extension Manager (under Extras > Extensions)
Example:
{
"require": {
"basilicom-pimcore-plugin/computer-vision": ">=1.0.0"
}
}
Installing the plugin a extension-computervision.xml is created in /website/var/config.
Create an Account for Microsoft Cognitive Services (https://www.microsoft.com/cognitive-services/), subscribe the Computer Vision API and copy your authentication key to the extension-computervision.xml.
Commands
This plugin registers a command to Pimcore console comand for batch analyzing. Run
php pimcore/cli/console.php computervision:analyze assetId delayInSeconds
License
GNU General Public License version 3 (GPLv3)