Skip to content

Automatically classify Akeneo records based on it's images

Notifications You must be signed in to change notification settings

juliensnz/reference-classify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Akeneo reference entity classifier

Automatically classify Akeneo records based on it's images

Demo

Installation

git clone https://github.com/juliensnz/reference-classify.git
composer install

Create a text attribute (non locale specific and non channel specific) on the reference entity you want to classify.

Then duplicate the .env file to .env.local and fill the required informations:

#Akeneo credential created in Akeneo PIM > System > Api Connections
AKENEO_API_BASE_URI=
AKENEO_API_CLIENT_ID=
AKENEO_API_CLIENT_SECRET=
AKENEO_API_USERNAME=admin
AKENEO_API_PASSWORD=admin

#The cache file for labels
CACHE_FILENAME=./var/cache/labels.json

#The text attribute code you want to put your tags in
TAG_ATTRIBUTE=raw_tags

#Amazon API credentials created here https://console.aws.amazon.com/iam/home#/users
AMAZON_KEY=
AMAZON_SECRET=

Usage

bin/console app:classify your_reference_entit_code
bin/console app:classify your_reference_entit_code --tagAttribute=my_tag_attribugte_code
bin/console app:classify your_reference_entit_code --confidenceThreshold=70

About

Automatically classify Akeneo records based on it's images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages