JeVoisBase
1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Human body pose detection using MediaPipe. More...
Public Member Functions | |
def | __init__ (self) |
Constructor. More... | |
def | processGUI (self, inframe, helper) |
Process function with GUI output. More... | |
Public Attributes | |
timer | |
mp_pose | |
pose | |
use_brect | |
Human body pose detection using MediaPipe.
Detect human body pose using MediaPipe in Python
This code is derived from sample_pose.py at https://github.com/Kazuhito00/mediapipe-python-sample
Definition at line 27 of file PyPoseDetector.py.
def PyPoseDetector.PyPoseDetector.__init__ | ( | self | ) |
Constructor.
Definition at line 30 of file PyPoseDetector.py.
def PyPoseDetector.PyPoseDetector.processGUI | ( | self, | |
inframe, | |||
helper | |||
) |
Process function with GUI output.
Definition at line 42 of file PyPoseDetector.py.
References PyPoseDetector.calc_bounding_rect(), PyPoseDetector.draw_landmarks(), PyPoseDetector.PyPoseDetector.pose, _ARMarkerSquare.pose, PythonTutorial2::PythonTutorial2.timer, PyModule::__MODULE__.timer, PyFaceMesh.PyFaceMesh.timer, PyHandDetector.PyHandDetector.timer, PyPoseDetector.PyPoseDetector.timer, PyDMTX.PyDMTX.timer, PyObjectron.PyObjectron.timer, PyEmotion.PyEmotion.timer, PyLicensePlate.PyLicensePlate.timer, PyCoralDetect.PyCoralDetect.timer, PyCoralSegment.PyCoralSegment.timer, PyCoralClassify.PyCoralClassify.timer, PyClassificationDNN.PyClassificationDNN.timer, FirstPython.FirstPython.timer, PyDetectionDNN.PyDetectionDNN.timer, PyHandDetector.PyHandDetector.use_brect, PyPoseDetector.PyPoseDetector.use_brect, and PyFaceMesh.PyFaceMesh.use_brect.
PyPoseDetector.PyPoseDetector.mp_pose |
Definition at line 35 of file PyPoseDetector.py.
PyPoseDetector.PyPoseDetector.pose |
Definition at line 36 of file PyPoseDetector.py.
Referenced by PyPoseDetector.PyPoseDetector.processGUI().
PyPoseDetector.PyPoseDetector.timer |
Definition at line 32 of file PyPoseDetector.py.
Referenced by PythonOpenCV.PythonOpenCV.process(), PythonSandbox.PythonSandbox.process(), PythonParallel.PythonParallel.process(), PythonObject6D.PythonObject6D.process(), PyPoseDetector.PyPoseDetector.processGUI(), PySelfie.PySelfie.processGUI(), PySceneText.PySceneText.processGUI(), PythonTest.PythonTest.processGUI(), PythonSandbox.PythonSandbox.processGUI(), PythonSandbox.PythonSandbox.processNoUSB(), and PythonObject6D.PythonObject6D.processNoUSB().
PyPoseDetector.PyPoseDetector.use_brect |
Definition at line 38 of file PyPoseDetector.py.
Referenced by PyPoseDetector.PyPoseDetector.processGUI().