MCPcopy Create free account
hub / github.com/cvzone/cvzone / getPrediction

Method getPrediction

cvzone/ClassificationModule.py:44–71  ·  view source on GitHub ↗

Classifies the image and optionally draws the result on the image. :param img: image to classify :param draw: whether to draw the prediction on the image :param pos: position where to draw the text :param scale: font scale :param color: text color

(self, img, draw=True, pos=(50, 50), scale=2, color=(0, 255, 0))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls

Tested by

no test coverage detected