lzane / Fingers-Detection-using-OpenCV-and-Python

A simple Fingers Detection (or Gesture Recognition) using OpenCV and Python with background substraction 简单手势识别
https://www.lzane.com
MIT License
437 stars 176 forks source link

如果空格键之后,键盘会被占用啊 #18

Closed YHR98 closed 4 years ago

lzane commented 4 years ago

请详细描述问题,不然没法帮到你

YHR98 commented 4 years ago

我的意思是,运行程序后,有很多误判率,我的键盘会一直被占用,还有手势识别是不是只能识别一种手势?

YHR98 commented 4 years ago

你好,你的第96行代码有问题,你的下划线表示什么意思啊,删掉下划线程序正常运行。

------------------ 原始邮件 ------------------ 发件人: "LZANE | 李泽帆"<notifications@github.com>; 发送时间: 2020年3月14日(星期六) 下午3:50 收件人: "lzane/Fingers-Detection-using-OpenCV-and-Python"<Fingers-Detection-using-OpenCV-and-Python@noreply.github.com>; 抄送: "…‖~~"<360157112@QQ.COM>; "Author"<author@noreply.github.com>; 主题: Re: [lzane/Fingers-Detection-using-OpenCV-and-Python] 如果空格键之后,键盘会被占用啊 (#18)

请详细描述问题,不然没法帮到你

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

lzane commented 4 years ago

请阅读README中的

for people using opencv4, please change line 96 in the new.py to contours, hierarchy = cv2.findContours(thresh1, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) according to the opencv api change.

大概率是openCV版本问题