tensorflowLiteDetection2D module

  • Program: Tensorflow Lite Detection 2D Module

  • Type: Python

  • Author: David Velasco Garcia @davidvelascogarcia

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

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

  • /tensorflowLiteDetection2D/img:o | Output image with detection |
  • /tensorflowLiteDetection2D/data:o | Output result, recognition data |
class tensorflowLiteDetection2D.TensorflowLiteDetection2D[source]

Bases: object

analyzeImage(dataToSolve, model, inputDetails, outputDetails, floatingModel, inputMean, inputSTD, labels, threshold, imageWidth, imageHeight, outputDataPort)[source]
getAuthenticationData()[source]
getCoordinates(xMin, labelSize, imageHeight, labelYMin, baseLine)[source]
getLabels(dirModel, labelMap)[source]
getModel(dirModel, graphModel)[source]
getSystemPlatform()[source]
processRequests(model, inputDetails, outputDetails, floatingModel, inputMean, inputSTD, labels, threshold, imageWidth, imageHeight, inputImagePort, outputImagePort, outputDataPort)[source]
class tensorflowLiteDetection2D.YarpDataPort(portName)[source]

Bases: object

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

Bases: object

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