I wanted to know if anyone has managed to use OpenCV in the example codes given by ARToolKit5. I was wishing to use it mainly in the nftSimple example. But since the artoolkit5 code is written in C and using opencv in C is not easy, was wondering if anyone has any ideas, or could give me some sample code to start off with. Thanks in advance!
Check out https://github.com/artoolkitx/artoolkitx/tree/master/Source/ARX/OCVT this is the newer image tracker based on OpenCV and using jpeg image files.
Related
I am currently in the process of learn c++ and I have decided to make a simple program that takes a .png file and exports the link inside it. I have looked it up and discovered ZXing but I still can't figure out how to implement it easily.
The ones I've found consists of scanning using webcam etc instead of a very simple version.
First, you need a library to read the images. CImg is good, it is a header only library build on top of the base libraries for the different images format: https://cimg.eu/
Assuming the image is a clean QR code you can skip the complex computer vision recognition part.
For the decoding part I am not sure, I don't know ZXing but it looks like the c++ port is no longer maintained anyway. Still, once you have the clean image it should not be a problem to use it.
You might want to have a look at the most recent c++ port of ZXing: https://github.com/nu-book/zxing-cpp
The project includes a trivial example application that does exactly what you want.
I am trying to extract the LBPFeatures of an image using OpenCV and C++, but there seems to be no in-built function to extract the features.
Can anyone help me?
I need to find the feature points and not the histogram.
The LBP authors give an optimized C code in one of their papers: here is the link.
you can find an old implementation of OpenCV in https://github.com/bytefish/opencv/tree/master/lbp
That libraries are included in newer versions of OpenCV, but the link have an example implementation
I am using the Caffe framework for Ubuntu 14.04 and I want to use caffemodel to classify.
At first,I convert the face database into lmdb format and I have trained the caffemodel(lenet_iter_10000.caffemodel).
Next, I try to use my caffemodel to classify.
I read the codefrom google caffe users and rewrite some of the content , but I have some errors.
'AddMatVector' is not a member of 'caffe::MemoryDataLayer'
I asked in some forums, but I did not receive a reply.
Could anyone help me?
If my description is not clear enough, I will make it clearly. Thank you.
I don't see any AddMatVector in the documentation.
But I can see it in the source code in an #ifdef USE_OPENCV. HTH.
I am completely new to OpenCV, OpenFrameworks, etc. My task is to trace a simple object (a drawing of a circle or a color bottlecap) and display a marker of any kind over the object in the video. I have searched very long and looked through many sites but there is no concise tutorial for a complete beginner, how to build, how to run, what to write and how to configure. Could someone please help me? I'm using Linux Ubuntu.
For setup opencv in eclipse refer this link:
http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_eclipse/linux_eclipse.html.
And for object detection first you need to train data for what you want to detect.For that refer these links,
http://docs.opencv.org/3.1.0/dc/d88/tutorial_traincascade.html#gsc.tab=0
http://docs.opencv.org/2.4/doc/user_guide/ug_traincascade.html
http://docs.opencv.org/2.4/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier
Hope this will help.
I need to use OpenCV with uEye Ethernet Camera. The problem is that I wasn't finding some useful tips regarding some example codes.
The source code provided with the installation is really linked to MFC stuff which is not what I want. It's really complicated to get rid of that, it was causing me so much problems (CWnd, Afx, Dialogs...)
I would like to read some frames from the camera and record some snapshots.
You can find the whole SDK description here: https://en.ids-imaging.com/manuals-ueye-software.html
Just simply make and account and you can access it. The documentation is really good.
I found this document in the internet
http://master-ivi.univ-lille1.fr/fichiers/Cours/uEye_SDK_manual_enu.pdf