OpenCV: Where do I find documentation for sample codes? - opencv

After I compiled openCV libraries, I got the following directory:
opencv\build_2.4.9\samples\ocl
In this there are many sample codes. But no description is provided unless you read the complete code and run a couple of times to know what it does.
Are there any documentation for such sample codes? If not how do I go ahead?

OpenCV has got examples mentioned in their websites
http://docs.opencv.org/doc/tutorials/tutorials.html
Or refer to
Learning OpenCV: Computer Vision with the OpenCV Library
by Adrian Kaehler and Gary Rost Bradski

Related

Rust binding for OpenCV seems to be missing the face module

I'm using opencv as OpenCV bindings for rust and I'm trying to implement an EigenFaceRecogniser system. On docs.rs, the opencv::face module is listed inside the opencv crate. However, when I build my code, I get the error:
could not find face in opencv
I'm not really sure what's causing this as the face module is clearly listed in the documentation but for some reason I cannot use it. If anybody who has used these bindings before or knows anything about what could be going wrong could help, it would be appreciated.
I'm using OpenCV version 4.5.1.
The solution was to enable the contrib feature for the opencv package.
While I was writing the above question, I stumbled across this post asking about OpenCV having no face module in python. The solution to that question was to install the opencv-contrib-python package so I tried enabling the contrib feature in the opencv crate and it compiled. I thought I'd post this question anyway just in case somebody else was having this issue.

Where to find images for OpenCV tutorials?

I have been following tutorials from the official OpenCV documentations
However, I am hoping to find the images they used in the tutorials so that I can reproduce results. Is there a repository of those images somewhere?
Did you take a look at the source of opencv.
"opencv\sources\samples\data" contains most of these sample images in the archive.
Try opencv-extra, at least some of the tutorials use images from there.
For example:

Reading hdf5 files in F#

Does anyone has code examples reading hdf5 files in F#? I cannot find any examples on SO or google. I tried hdf5.net library but could not get it to work using Python example code.
While I haven't tried it, there is some sample code available at https://rodhern.wordpress.com/2013/02/17/hdf5-f-to-octave-example/
It's the only example I know of offhand.

Using OpenCV with DevCPP

I am a newbie to OpenCV and I am trying to use it with DevC++. Although I am aware I could use Visual Studio for the same , I would still like to use DevC++.
The OpenCV Wiki-how seems obsolete with this information. Can you please tell me the steps with which I can modify the Compiler Options in DevCpp so that I may kick-off with OpenCV.
Any help is highly appreciated ...
Also, OpenCV wiki directs me to paste the following code in the Compiler Options ,
-L"C:\Program Files\OpenCV\lib" -lcxcore -lcv -lcvaux -lhighgui -lml -lcvcam
Sadly , I did not find the lib folder in my OpenCV directory..

Intel AVCSR - (Lip reading to augment Voice Recognition)

I am interested in using a library that supports lip reading to augment audio/voice recognition. I found out that Intel's AVCSR (which was bundled with OpenCV library) would be an interesting option to consider. Would there be any other libraries that can be used to achieve the same (lip reading to augment voice recognition)?
Also I have not been able to locate a source to download this library from. I already tried the OpenCV package from SourceForge (http://sourceforge.net/projects/opencvlibrary/) but it does not seem to have the AVCSR packages/files. Could someone who has already worked with something similar point me to the place where I can find these source files (either within OpenCV or elsewhere)?
Thank you.

Resources