Quote:
Originally Posted by bip!
Anyone on here very experienced with openCV? I am looking for book recommendations.
I've used it extensively - C, C++, python and java/native on android.
Every book I've seen on it is ****ing terrible. The library has kinda changed a lot over the years and by the time a book is in print/popular the library has moved on. They have made a fair amount of non backwards compatible changes, especially in the more advanced functions like the feature detectors.
That said, I feel like it's not very hard to learn, except for a few gotchas - more on those in a second. If you can program C++ that seems like the best interface to me. The python bindings follow the C convention which I find less expressive than the C++ convention. I did very little java and decided that for me it was better to do native C++ for android even though it's kind of a PITA (I used JNI and a cross compiler)
So, some gotchas:
different sources of image data have different image formats. Sometimes the words will be RGBA, sometimes BGRA, sometimes just RGB, etc, and you kinda have to know what it is.
Reading and writing from video is kind of a pain - it doesn't so much produce errors as it just doesn't work, if you don't have it right. At least, that's what I experienced for the most part. I'd have to try a bunch of video formats before I found one that would work right. This is not so bad if you can get ffmpg support working right. I do a lot of programming on OSX and everything that should be easy is hard. Winows is almost as bad. Linux is the easiest.
I dunno, if you have any specific questions feel free to PM me or email me at
me@rustybrooks.com. Image processing and computer vision have been my side field of study for around 15 years now.