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

Method update

cvzone/FPS.py:32–63  ·  view source on GitHub ↗

Update the frame rate and optionally display it on the image. :param img: Image to display FPS on. If None, just returns the FPS value. :param pos: Position to display FPS on the image. :param bgColor: Background color of the FPS text. :param textColor: Text

(self, img=None, pos=(20, 50), bgColor=(255, 0, 255),
               textColor=(255, 255, 255), scale=3, thickness=3)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

FPS.pyFile · 0.45
FpsExample.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected