facialAnalysisLiteDetection2D module

  • Program: Facial Analysis Lite Detection 2D

  • Type: Python

  • Author: David Velasco Garcia @davidvelascogarcia

  • INPUT PORT | CONTENT |
  • |--------------------------------------|———————————————————|

  • /facialAnalysisLiteDetection2D/img:i | Input image |
  • OUTPUT PORT | CONTENT |
  • |--------------------------------------|———————————————————|

  • /facialAnalysisLiteDetection2D/img:o | Output image with facial analysis |
  • /facialAnalysisLiteDetection2D/data:o| Output result, facial analysis data |
class facialAnalysisLiteDetection2D.FacialAnalysisLiteDetection2D[source]

Bases: object

ageAnalysis(userFace, xMin, yMin, xMax, yMax, ageModel, ageList, ageQueueBuffer)[source]
analyzeImage(dataToSolve, ageModel, ageList, emotionModel, emotionList, imageWidth, imageHeight, inputImagePort, outputImagePort, outputDataPort)[source]
emotionAnalysis(userFace, xMin, yMin, xMax, yMax, emotionModel, emotionList, emotionQueueBuffer)[source]
genderAnalysis(userFace, xMin, yMin, xMax, yMax, genderQueueBuffer)[source]
getAuthenticationData()[source]
getSystemPlatform()[source]
loadAgeModel(ageModel, ageLabels)[source]
loadEmotionModel(emotionModelPath)[source]
processRequests(ageModel, ageList, emotionModel, emotionList, imageWidth, imageHeight, inputImagePort, outputImagePort, outputDataPort)[source]
class facialAnalysisLiteDetection2D.YarpDataPort(portName)[source]

Bases: object

close()[source]
receive()[source]
send(dataToSend)[source]
class facialAnalysisLiteDetection2D.YarpImagePort(portName, imageWidth, imageHeight)[source]

Bases: object

close()[source]
receive()[source]
send(dataToSend)[source]
facialAnalysisLiteDetection2D.main()[source]