/alfrescoPhotoAnalyzer

Alfresco add-on to analyze people photos and extract information about the gender, the age, face expressions, emotions and others. So you can make a bulk photo import to Alfresco, and then make searches(for example, to know how many 30 age people photos are in the repository)

Primary LanguageJava

Alfresco Photo Analyzer Module - Global Hack-a-thon 2017

Alfresco customization to extracts information of upload photos.

The result you will see is a box with the properties extracted from the metadata photo.

The list of possible information to extract from a photo is:

  • Number of persons
  • Ages
  • Gender
  • Hair
  • Facial Hair
  • Emotions
  • Accessories

Build and Run Alfresco

This project uses: + Alfresco 5.2 with SDK 3.0.0 + Microsoft Azure API

Run embedded Tomcat + H2 DB with mvn clean install -DskipTests=true alfresco:run or ./run.sh

Configure Microsoft Azure API

To configure Azure API connection, change the following properties in the alfresco-global.properties file.

photo_analyzer.azure.api.url=https://westeurope.api.cognitive.microsoft.com/face/v1.0/detect photo_analyzer.azure.api.attribute_list=age,gender,emotion,hair,facialHair,accessories,glasses photo_analyzer.azure.api.subscription_key=<subsription-key>