2019-09-01 11:03:57 -0600 | received badge | ● Famous Question (source) |
2019-09-01 11:03:57 -0600 | received badge | ● Notable Question (source) |
2018-11-02 08:52:10 -0600 | received badge | ● Popular Question (source) |
2014-08-24 08:28:01 -0600 | answered a question | error: (-215) (npoints = prevPtsMat.checkVector(2, CV_32F, true)) >= 0 in function calcOpticalFlowPyrLK Ok I found my mistake. In the detection_coins() dunction I changed into integers the corners coordonates. I changed that and I don't have this error anymore. Now Ihave the following error when I use the cv.imshow() function at the lasts lines of my program to see image_flow : Any help with that? |
2014-08-24 07:35:19 -0600 | answered a question | error: (-215) (npoints = prevPtsMat.checkVector(2, CV_32F, true)) >= 0 in function calcOpticalFlowPyrLK Hello, I'd like to detect clouds movement filmed with a camera. I'm coding with Python. To do so, I choose two different pictures from this film. Next I detect the interesting points with the goodFeaturesToTrack() function. At last, I'd like to use the calcOpticalFlowPyLK() function. When I'm using the last function and I'm meeting the errror that's in title. You'll find the code underneath : Thanks for your help |
2014-08-20 06:07:34 -0600 | asked a question | error: (-215) (npoints = prevPtsMat.checkVector(2, CV_32F, true)) >= 0 in function calcOpticalFlowPyrLK Bonjour, Je souhaite détecter le mouvement des nuages sur une vidéo avec Python. Pour cela je choisis 2 images espacées de quelques secondes dans cette vidéo. Ensuite je détecte les points d'intérets dans les deux images avec goodFeaturesToTrack() Enfin, je veux utiliser calcOpticalFlowPyrLK(). Je rencontre l'erreur que je vous ai mise en titre. Le code est ci-dessous Merci pour votre aide |