mmpose
mmpose copied to clipboard
webcam_demo.py
I need to run webcam_demo.py on jetson nano, so I need the lightest object detection model, please help me to see which of the following models is the lightest
Also I would like to ask, is there any way to display fps in webcam_demo.py in real time
Among these models, ssdlite and yolov3 should have faster inference speeds. You can also have a look at the MMDetection model zoo where there are more available detection models: https://mmdetection.readthedocs.io/en/3.x/model_zoo.html
To display fps and other diagnostic information, MonitorNode
is what you need: https://mmpose.readthedocs.io/en/1.x/generated/mmpose.apis.webcam.nodes.MonitorNode.html#mmpose.apis.webcam.nodes.MonitorNode (Assume you are using MMPose 1.0)
sorry,I can't find an interface in MonitorNode that shows fps
If you run webcam_demo.py
with the default config which has the MonitorNode, the diagnostic information can be enabled by pressing the key "m" and will be shown on the image.