JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Human body pose detection using MediaPipe. More...
Public Member Functions | |
__init__ (self) | |
Constructor. | |
processGUI (self, inframe, helper) | |
Process function with GUI output. | |
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.
PyPoseDetector.PyPoseDetector.__init__ | ( | self | ) |
Constructor.
Definition at line 30 of file PyPoseDetector.py.
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(), _ARMarkerSquare.pose, PyPoseDetector.PyPoseDetector.pose, AprilTag.AprilTag.timer, FirstPython.FirstPython.timer, PyClassificationDNN.PyClassificationDNN.timer, PyCoralClassify.PyCoralClassify.timer, PyCoralDetect.PyCoralDetect.timer, PyCoralSegment.PyCoralSegment.timer, PyDetectionDNN.PyDetectionDNN.timer, PyDMTX.PyDMTX.timer, PyEmotion.PyEmotion.timer, PyFaceMesh.PyFaceMesh.timer, PyHandDetector.PyHandDetector.timer, PyLicensePlate.PyLicensePlate.timer, PyObjectron.PyObjectron.timer, PyPoseDetector.PyPoseDetector.timer, PySceneText.PySceneText.timer, PySelfie.PySelfie.timer, PythonObject6D.PythonObject6D.timer, PythonOpenCV.PythonOpenCV.timer, PythonParallel.PythonParallel.timer, PythonSandbox.PythonSandbox.timer, PythonTest.PythonTest.timer, PyFaceMesh.PyFaceMesh.use_brect, PyHandDetector.PyHandDetector.use_brect, and PyPoseDetector.PyPoseDetector.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 FirstPython.FirstPython.process(), PyClassificationDNN.PyClassificationDNN.process(), PyCoralClassify.PyCoralClassify.process(), PyCoralDetect.PyCoralDetect.process(), PyCoralSegment.PyCoralSegment.process(), PyDetectionDNN.PyDetectionDNN.process(), PyDMTX.PyDMTX.process(), PythonObject6D.PythonObject6D.process(), PythonOpenCV.PythonOpenCV.process(), PythonParallel.PythonParallel.process(), PythonSandbox.PythonSandbox.process(), AprilTag.AprilTag.processGUI(), PyCoralClassify.PyCoralClassify.processGUI(), PyCoralDetect.PyCoralDetect.processGUI(), PyCoralSegment.PyCoralSegment.processGUI(), PyFaceMesh.PyFaceMesh.processGUI(), PyHandDetector.PyHandDetector.processGUI(), PyLicensePlate.PyLicensePlate.processGUI(), PyObjectron.PyObjectron.processGUI(), PyPoseDetector.PyPoseDetector.processGUI(), PySceneText.PySceneText.processGUI(), PySelfie.PySelfie.processGUI(), PythonOpenCV.PythonOpenCV.processGUI(), PythonSandbox.PythonSandbox.processGUI(), PythonTest.PythonTest.processGUI(), FirstPython.FirstPython.processNoUSB(), PythonObject6D.PythonObject6D.processNoUSB(), and PythonSandbox.PythonSandbox.processNoUSB().
PyPoseDetector.PyPoseDetector.use_brect |
Definition at line 38 of file PyPoseDetector.py.
Referenced by PyFaceMesh.PyFaceMesh.processGUI(), PyHandDetector.PyHandDetector.processGUI(), and PyPoseDetector.PyPoseDetector.processGUI().