I'm trying to Implement tesseract Ocr for Car Engine VIN number reader. Partially I have done it with the help of tesseract ocr sdk. Now I'm trying to implement camera something like this
I would like to do any of these three,
crop the image automatically inside rectangle
capture the image only inside rectangle
save image along with rectangle overlay.
I'm sorry, I'm new to iOS development. kindly help me. Thank you.
Related
I am looking to create colour splash effect using swift for my iOS app.
I was considering working with UIBezier path to create some random splash shapes so that I could just fill in colour into those paths. Other than that haven't really had any other ideas I could use to achieve this from my search.
Could anyone help me out and point me in right direction for how I could achieve this ?
I would try Diamond-square or Lazy Flood fill algorithm.
Also take a look at other computer graphics algorithms:
https://en.wikipedia.org/wiki/Category:Computer_graphics_algorithms
I want this kind of functionality in my app. this app converts captured image to. 3d image. and also have functionality to convert. 3d to video. please let me know how do i achieve this in my swift app.
You can use online websites like
1 Aspose
2. Picto3d
Etc. Or just google image to 3d converter online. Its easy bro.
I'm fairly new to iOS development.
What I want to achive is to put the stream from the camera in a UIView class. (and size it with a frame).
So i don't need controls or the possibility to capture images, just on the screen what the camera sees.
Furthermore, i want that view to be blurred. Is there a way (or a library) to put a gaussian blur on that videostream?
Thank you!
You can use GPUImage https://github.com/BradLarson/GPUImage try realtime effects they provide. That will solve your problem for sure.
To display the camera on screen without controls you will need to use AVFoundation. Take a look at Apple's SquareCam sample code.
As for the blur a simpler solution might be creating semi-transparent image with a blur effect and placing it about the camera view.
I am trying to make an app for image recognition with Open CV, i want to implement something like this but i don't know how should i do it can any one give me any help where should i begin from i have downloaded Opencv for iOS from here,
I have a hardcopy of image as an example which i want to scan through the camera and the images(markers) i have imported in project now when i scan the image through camera then it should overlay the markers on the image and when i tap/select the marker it should show the info of that marker.
Here is my image :
It's just an example i have taken (Square,Circle and Triangle as Markers)
So now when the image is scanned then the markers will come up as an overlay and on clicking the markers i should get the names (If the Overlay image over the Circle Named "Air" is tapped it should show me "Air" on an alert or if Square Named "Tiger" is tapped it should say "Tiger")
My problem is that the images are kind of same pattern but the result is different on every part so i don't know how should i approach in this ..
Please can any one help me out by suggesting any idea or if any one has done thing like this please tell me how should i implement it.
I have to start from scratch any help please .
Can this be achieved using Open CV or i have to use any other SDK such as vuforia or layar.
Maybe you should search a little bit before asking help...
Anyway, the shapes you want to find do not seems to change (scale, rotation) so, you can look at the template matching methods implemented in OpenCV (see Tutorial OpenCV)
If the shapes are changing, you should look at more powerful methods such as SIFT or SURF. Both are already implemented in OpenCV (the link from aishack is a tutorial to re-implement SIFT, you can find in the same website a tutorial to use the OpenCV method).
I´m trying to develop an app to help people with vision diseases and one of the function is to recognize the color of the object that user is pointing.
I´ve read this article about how to get the pixel color from an UIImage
Get Pixel color of UIImage
Anyone have a idea how i can get this pixel color from camera?
Marcelo, there is quite a bit of setup to get the pixel color from camera. You will need to get up to speed with AVFoundation at:
http://developer.apple.com/library/mac/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/04_MediaCapture.html
After you have done that, you should pull the sample code Rosy Writer:
http://developer.apple.com/library/ios/#samplecode/RosyWriter/Introduction/Intro.html
This code is meant to take a live camera image and change one of the pixel colors.
I recommend you spend time on those 2 and then come back with more specific questions as you start build the app.
Hope this helps.