Using OpenCV in Android to find an image match - opencv

I am trying to build an Android application that compares a photo taken by the device camera to find a match in a set of images.
I have configured OpenCV on Android Studio, but that is quite it.
Could someone please help by linking to resources or suggesting tutorials?
The OpenCV documentation does not have anything on Android Studio and the sample codes seem to be in C++.

My idea is to do the same things... I've searched some samples on GitHub but I've not found almost anything useful... These are some links:
https://github.com/search?utf8=%E2%9C%93&q=sift+android&type=Repositories&ref=searchresults
https://github.com/search?utf8=%E2%9C%93&q=opencv+android&type=Repositories&ref=searchresults

we have almost the same project. this links might help
https://github.com/torcellite/imageComparator
https://medium.com/#akshikawijesundara/object-recognition-with-opencv-on-android-6435277ab285
in OpenCV there are plenty algorithm that we can use to find image match such as BRISK, ORB, FREAK, SIFT and SURF (SIFT and SURF available only in nonfree version since those algorithm patented).
I hope this will help

Related

Racket and OpenCV

I would like to use OpenCV with the Racket programming language. I normally use Python but would like to use Racket so that I can start using it for computer vision projects. However, I do not know how to use/link the OpenCV library with/to Racket. Please could you assist me with this if you know how. Thank you.
Take a look at https://github.com/oetr/racket-opencv/tree/master/tutorials
and https://github.com/tonyg/racket-opencv-videocapture
I have tried neither of them.
The first project has ported some of the Open CV tutorials,
which could a starting point.
https://github.com/oetr/racket-opencv/tree/master/tutorials

opencv not able to run some advanced image processing code

i am using visual studio 15
some basic blurring and filters are running perfectly but on some codes such as blending and dct techniques are not running
Can anyone please help me
At this point its probably best to create your own compiled library tools for MicroSoft Visual Studio 15. Here's a how to guide. That guide covers all the steps and starts with the most current code on Github.
Also note there are many tutorials out there on OpenCV. Many parts of the OpenCV library have been update, or replaced. You have to be careful that the commands you are using are valid in OpenCV 3.x
Compile your own, run a few simple programs.
If you want specific help here, you MUST post your code, and the errors you are seeing.

Using kinect with OpenNi

I am newbie to kinect and openNi. But according to some old tutorials I have tried installing kinect sensor(primeSensor) and OpenNi for object detection with kinect. But as OpenNi project is closed now, I am not able to find alternatives to OpenNi, I also tried pcl libraries, but I was stuck there as I couldn't run any project because of: 'Entry point is not found error'.
I need to use kinect for object detection with windows 7 32 bit. I wanted to use pcl libraries with openNi.
Can anyone please guide me what should I do? Or it'll be really grateful if anyone could tell me from where should I start. Please give me some new tutorials for using kinect.
I use kinect 2.0, pcl and OpenCV in VS2012, OpenNI is no longer supported and I suggest you grab Kinect frame by this(it works fine):http://unanancyowen.com/?p=1232

Distorted 3D reconstruction OPENCV + PCL (Martin Peris code)

I am using Martin Peris code for 3D reconstruction using OpenCV and PCL (link below):
http://blog.martinperis.com/2012/01/3d-reconstruction-with-opencv-and-point.html
Trouble point:
I am having trouble with the final step in viewing the 3D reconstruction in the "3D viewer" window. I am getting a perfect disparity image as shown in the blog but my final reconstruction image looks like this:
https://drive.google.com/file/d/0Bx1aNPhwJU4kMmt1cUVHVXBOLWM/edit?usp=sharing
You can compare this with the one which is shown in the video link given in that blog.
Things that I have tried:
Checked if all the required libraries are installed. I believe otherwise the code wouldn't compile and give me any results.
Checked if I have a graphics support on my machine:
$lspci | grep VGA
09:00.0 VGA compatible controller: NVIDIA Corporation G71GL [Quadro FX 3500] (rev a1)
My doubts:
If there is some library missing for OpenGL or OpenCV or PCL which is making the 3D reconstruction window suffer.
The controversial reprojectImageTo3D() function in OpenCV which is also used in the code by Martin Peris.
Some other reason that one of you could help me with ;-)
Other details:
Ubuntu Version : 12.04
OpenCV Version : 2.3.1-7
Any suggestions would really be helpful!
Thanks,
Pratul
RESOLVED!
It was actually a driver issue with my graphics card. To solve it I wiped off the currently installed driver and then re-installed an updated one and that worked like a charm.
Details of this solution I have posted on the PCL mailing list as I didn't wanted to repeat myself here.
enter link description here
I hope this helps.

Converting depth_image from Kinect to OpenCV classic format(IplImage) for displaying

I am working with OpenCV2.4.5 and OpenNI2.0 (with SDK Kinect 1.6) on visual studio 2012. I try to develop an application of gaze tracking, for that i use "Kinect sensor" to get image_data and i want to process this ilage on OpenCV (Features extraction and machine learning).
If any one has an example or or a good tuto, it will be very helpful for me.
Best regards.
why not start with an opencv sample here ?

Resources