Closed fultonms closed 8 years ago
Thank you for your changes. I'm definitely open to moving to OpenCV3 and will merge your changes tomorrow after I test and verify them :smile:
Yeah, no problem. I really wanted to run this script to try it out, and didn't feel like downgrading OpenCV.
Out of curiosity, are there any areas of development that you are interested in contribution for?
Mostly better slouch detection (doesn't work too well if you vary the distance you sit from your computer). And other types of bad posture (such as leaning your head to the side).
The augoust-changes branch is addressing this a bit and will be merged back into master soon. On Oct 28, 2015 5:53 PM, "Michael Fulton" notifications@github.com wrote:
Yeah, no problem. I really wanted to run this script to try it out, and didn't feel like downgrading OpenCV.
Out of curiosity, are there any areas of development that you are interested in contribution for?
— Reply to this email directly or view it on GitHub https://github.com/pyskell/slouchy/pull/17#issuecomment-152006176.
But I'm always looking for further improvements. On Oct 28, 2015 5:57 PM, "Anthony Lusardi" ajlusardi@gmail.com wrote:
Mostly better slouch detection (doesn't work too well if you vary the distance you sit from your computer). And other types of bad posture (such as leaning your head to the side).
The augoust-changes branch is addressing this a bit and will be merged back into master soon. On Oct 28, 2015 5:53 PM, "Michael Fulton" notifications@github.com wrote:
Yeah, no problem. I really wanted to run this script to try it out, and didn't feel like downgrading OpenCV.
Out of curiosity, are there any areas of development that you are interested in contribution for?
— Reply to this email directly or view it on GitHub https://github.com/pyskell/slouchy/pull/17#issuecomment-152006176.
This fixes the forward compatibility issues.
The cv2.cv submodule was removed in opencv3.0, and some constants were changed. I have edited the code to check opencv version, and use the correct constant for OpenCV 3.0 and OpenCV 2.
This adds a dependency with the package imutils, which can be installed with pip install imutils. However, this is not an intense change, and MUST be made for slouchy to work with OpenCV 3.0 and on.