humanActivityDetection2D module use openCV python API. The module analyze human activity using pre-trained models. Also use YARP to send video source pre and post-procesed. Also admits YARP source video like input. This module also publish detection results in YARP port.
Documentation available on docs.
humanActivityDetection2D requires images source to detect. First you need pre-trained models or train a model and locate in models dir, you can download pre-trained model here:
- Execute programs/humanActivityDetection2D.py, to start the program.
python3 humanActivityDetection2D.py- Connect video source to
humanActivityDetection2D.
yarp connect /videoSource /humanActivityDetection2D/img:iNOTE:
- Video results are published on
/humanActivityDetection2D/img:o - Data results are published on
/humanActivityDetection2D/data:o
humanActivityDetection2D requires:
Tested on: windows 10, ubuntu 14.04, ubuntu 16.04, ubuntu 18.04, lubuntu 18.04 and raspbian.