这是一个检测视频手的安装包。
hand-detector-test的Python项目详细描述
信息
hd_llz 2019-02-26
Author: Liu lizhen <hero1153@sina.com>
Copyright: This module has been placed in the public domain.
version:0.0.0.1
课程:
hand_detector
:检测图像中的手
功能:
test()
:测试函数hand_detector()
:一个类hand_detector.detect_hand_predict(image)
:返回手的数量、手的位置和置信度
如何使用此模块
。图片::funny.gif :高度:100px :宽:100px :alt:有趣的猫图片 :对齐:居中
- 示例代码:
sudo pip install tensorflow==1.5.0
- 代码::python
从HD llz导入手动检测作为HD
导入CV2
hd1=hd.hand_detector()
hd1.test()
hd3=hd.hand_detector()
imf=os.path.join(self.site_package_path,'test.jpg')
打印imf
image=cv2.imread(imf)
打印(hd3.detect_hand_predict(image))