Image processing - reusable code - image

I am going to start working on a image processing project and would like a little information about basic character recognition from an image as simple as reading just a number from an image.
All I am looking for is the logic and some reusable code will be great as well.
Thanks

I used this long back for my side project. Hopefully it is something that you are looking for http://www.aforgenet.com/

If you need to read a character from an image, you will need to use Optical Character Recognition (OCR).
There are many question on this subject on stackoverflow and codeproject that you can take a look at like the following:
https://stackoverflow.com/questions/870280/ocr-for-net
http://www.codeproject.com/Questions/451321/Read-text-from-image-file-in-vb-net.aspx#answer1
http://www.codeproject.com/Articles/41709/How-To-Use-Office-2007-OCR-Using-C

Related

How can I do what this app does? How is this technique called?

recently I saw an app in the playstore:
https://play.google.com/store/apps/details?id=com.donalddraws.app
(Not trying to make this political, I couldnt find another example)
Basically, you give an image of a given size to the app and the app will put the image inside the video, resizing and transforming the image automatically so it looks like it is part of the video.
So the programmer have to let the app know where the image should be placed and how it should be transformed.
Example video: https://www.youtube.com/watch?v=Zvf3yeZYUiI
I tried searching information, but couldnt find much, maybe I am not using the right terms.
It probably looks like a broad question, but I'm just looking for the name of the technique or a small introduction (preferably Python, but other languages would be fine too).
Thank you!

Add an image to MKMapView (SWIFT)

I'm trying to add an image to MKMapView using SWIFT and I have ZERO coding experience. Could someone provide me with ALL the sample code necessary to do this? If there are any placeholder words (like overlay.yourimage.mapView) could you put the place where I need to add my information IN CAPS? I can't even tell the parts where I'm supposed to add my own information.
I appreciate any responses, I'm a first time poster.
Welcome to Stack Overflow.
The short answer is no.
This is not a site where people write your code for you. It's a site where you come when you have specific problems with code you've written and need help.
Be warned that MKMapView is a pretty complex framework. If you have zero programming experience it is way, way, WAAAAAAY over your head. You need to start with "Hello World" type stuff and work your way up.
Starting your programming career with trying to customize a map view is like going down a black diamond ski trail the first time you put skis on. You will fail dramatically, and won't be ready for black diamond trails (advanced APIs like map kit) until you do a lot of groundwork.
You can probably find sample code online that deals with adding an image to a map view, but it's not going to make much sense to you at this point, just like a ski instructor explaining how to get through a difficult mogul field won't make much sense to a beginning skier.

find similar image in library to photo

I work at a printer where we generate thumbnails of artwork for orders and store them in a folder before printing.
I'm looking for a code library that will allow us to take a photo of a printed item and look through the library of thumbnails for the design.
Just wondered if anyone knows of a library or api that could do this?
Thanks
David
pHash is one solution.
There are others but that mainly depends on your requirements: do you only want to identify identical images, if not, what types of transformations do you want to be able to capture etc.
In general you should look for near duplicate image search.
#david-jennings there are numerous methods to look for similar images in libraries. Remember that google already does this in google images.
Your problem falls under the scope of Content Based Image Retrieval (CBIR), which aims at looking for images with similarities in their content. MPEG-7 is a standard established many years ago to address these issues and the research field is very active with new techniques being developed constantly.
The main idea in CBIR is to extract some kind of a signature from an image and try to match it with all previously extracted signatures of all images in your database. Which method to use depends upon the specifics of your problem... According to your initial post I suppose that probably the use of SHIFT is going to do the work for you...
You may implement such a system using OpenCV with C/C++/Java/etc., or something more "scientific" using MATLAB.

separating text and image regions from an image code

Separating image and text regions from an image is a very old problem and many papers have been written about it. One of the recent ones can be found here.
But I didn't find any existing code for this. Before implementing one, I thought it might be a good idea to ask SO community if anyone knows of an existing one.
Please point me to an existing code (preferably Java) if you know.
I haven't read your PDF completely but from what I saw you can find a similar algorithm implemented in C# in AForge.Net. Converting the code to Java shouldn't be a big deal.
See HorizontalRunLengthSmoothing Class and VerticalRunLengthSmoothing Class

Zoomable image like google maps

I would like to create a website that has a large image of a tree from a distance on. When you zoom in it shows more defined image of the branches and then zooming in further the words will display in the braches. You can scroll the image to see all the other words. So its like google maps but for my own image.
I have tried looking for examples etc but can only find ones of maps. I believe I have to make different tiles for the different levels.
Is there any examples or tutorials out there that could help me or is there a specific name for what I should be looking for.
The easiest way to do it is to use a tool called MapTiler.
It's free, and you just follow a really simple wizard that just hides all the complexity from the process.
Anyway, I've posted a tutorial exactly on this topic which you can check here.
I created a Java based version of a Google Map Tiler tool here:
https://github.com/devldevelopment/googlemaptiler
This will help you cut up images as per Map Tiler but is free. An example with Javascript is provided on the github readme.
Thanks

Resources