You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to do a simple frame difference. I know I can do it with Processing directly, however I wanted to try it with OpenCV (also because of threshold, flip and more functions).
I found that diff returns a difference even when you compare two the same images. I tried also the diff function that compares two OpenCV Mat objects, that works better.
Any idea if this is a bug, or I make a thinking mistake?
I try to do a simple frame difference. I know I can do it with Processing directly, however I wanted to try it with OpenCV (also because of threshold, flip and more functions).
I found that diff returns a difference even when you compare two the same images. I tried also the diff function that compares two OpenCV Mat objects, that works better.
Any idea if this is a bug, or I make a thinking mistake?
I try to do a simple frame difference. I know I can do it with Processing directly, however I wanted to try it with OpenCV (also because of threshold, flip and more functions).
I found that diff returns a difference even when you compare two the same images. I tried also the diff function that compares two OpenCV Mat objects, that works better.
Any idea if this is a bug, or I make a thinking mistake?
framedifference problem (special script to compare two the same images):
https://gist.github.com/kasperkamperman/b0a412d2a0a99f002856
Mat version that works, however I have some problem with the toCV function and to create a new Mat:
https://gist.github.com/kasperkamperman/0605812c7fb35515ac6c
I hope I post on the right place (was in doubt to post this in the comments of your blog or overhere).
Version info:
OpenCV for Processing 0.5.2 by Greg Borenstein http://gregborenstein.com
Using Java OpenCV 2.4.5.0
Processing 3.0a4
The text was updated successfully, but these errors were encountered: