Text recognition in non-english language - c++

I have implemented a text detection algorithm in Hindi and it is working perfectly well, and have localised the textual region. Now I am looking for converting the textual regions to digital format which can be used by Google translate API. Any help regarding how I can convert it into digital format? (I have looked into SVM,ANN etc)

I would look into OCR.
The Tesseract OCR engine (open source) has language data available for many languages including Hindi, so that could be a good place to start. It can be integrated into OpenCV as well.
If you'd like to just use OpenCV then one of the Machine Learning methods (KNN, SVM) may be best, you'll need to train it yourself to recognise characters.
Few links:
https://code.google.com/p/tesseract-ocr/ (Tesseract)
https://opencv-code.com/tutorials/how-to-read-the-digits-from-a-scratchcard/ (OpenCV + Tesseract)
http://blog.damiles.com/2008/11/basic-ocr-in-opencv/ (OpenCV only - KNN)
https://opencv-code.com/tutorials/how-to-integrate-tesseract-ocr-and-opencv/ (Integrating Tesseract & OpenCV)

Related

Is here any OCR engine tuned to detect non-human-like (eg. codes) strings?

I am looking for some OCR engine (open source, preferably Python with Edge/Mobile devices support) that does not try to match found string (eg. CAPTCHA code but without image distortion like squeezing) to existing one in human dictionary.
Eg. there is an image with text:
2ebra
or
15
I would NOT like to read it as:
Zebra
IS
Is there any OCR engine to support such exotic task? I am aware that some characters might be extremely similar, but I wish to proceed as little changes to found string as possible.
I have already tried to use Tesseract, but results are rather dissatisfactory.
I am looking forward to hearing it from you.

How do i go about developing a facial identification software that identify different users and show their name from an image database using C++

I'm trying to develop a facial recognition software that holds a database of different images and uses the camera to identify each person and shows their name on screen. I'm more familiar with using C++ and I assume python might be the best language to get the job done but I want to know how I can go about it with C++. what algorithm do I have to use and a break down of how I can do it. thank you (:
OpenCV must be installed on the local machine.
Paths to the classifier XML files must be given before the execution of the program. These XML files can be found in the OpenCV directory “opencv/data/haarcascades”.
Use 0 in capture.open(0) to play webcam feed.
For detection in a local video provide the path to the video.(capture.open(“path_to_video”)).
You can get in-depth knowledge here
Tutorial

How to apply wavelet filter to MRI nifti images?

I need to denoise nifti images using wavelet transform. I did it in MATLAB but I should write the code for my project in Python. I am new to Python.
Python has a neuroimaging community of practice that lives at http://nipy.org. In particular, they have a library called NiBabel (see their introduction and github) for reading nifti and other formats (this will replace MATLAB's niftiread). You may also be interested in the PyWavelets library, which can replace basic parts of the MATLAB wavelet toolbox. The Pillow library is probably the most up to date image editing/processing library for Python, but as far as I'm aware wavelets isn't something covered there.
Is that enough to get you started? A basic discussion of how Python packages work seems beyond the scope of this question, but you can do some reading at https://pypi.org/help/ if you are completely lost.

Doing sophisticated image analysis with python / django

I am working on a django project that analyzes images that contain text and (1) infers if the image needs to be rotated and (2) where text areas are.
I am currently using PIL to do some more simpler processing of these images but I am not quite sure how I can use PIL or other libraries to perform both tasks. I was wondering if anyone has done this before and if there are libraries / api available to help in the development.
OpenCV is probably the post popular open source image processing library. It's C/C++ but there are python bindings:
http://opencv.willowgarage.com/wiki/
and the python docs
http://opencv.willowgarage.com/documentation/python/index.html
I've never done an OCR with it, but I'm sure it's capable
I agree with #pastylegs that OpenCV is your best initial bet. If you need stuff specific to OCR you could also look at ocropus.

How to convert UTM Coordinate in C to Latitude/Longitude using WGS84 Datum?

Does anyone know where I can find open source code (in c++) that converts a UTM point to Geo (WGS 84)?
Thanks,
Liran
Take a look at GDAL.
Specifically the code used here.
There is also a Warp API tutorial here which outlines the basic use of the Warp API.
Alternatively, you can use the more lightweight PROJ.4 library (GDAL uses this internally).
While not C++ per se, I have written it in Objective-C and could more or less be copied and pasted into C or C++ with a few minor alterations.
UTMConverter example for iOS
The part you want is a file called UTMConverter.m. It has methods for converting from lat/long to UTM and vice-versa.