[Q] OCR, image recognition application - IDEs, Libraries, & Programming Tools

Hello everybody,
I'm learning app development and interested in OCR, image recognition application.
I found an app called Vivino
It can scan the wine label and return the result in few minute. This is awesome.
I tried to use OCR (opencv), it is not accurate enough to extract the text from a wine label image since the image is curved.
I also tried to use pattern matching and feature matching, they are working, but the run time is slow and O[n].
Therefore when the number of wine database increase, the run time increase linearly.
Is anyone got the suggestion to improve the accuracy and speed of image recognition?
Thanks in advance.
Lit

Related

XDA II Camera issue from API

Hi all,
I am using a simple piece of code to capture a camera image from the XDA II and display it on a form. The application calls the camera capture dialog. When the dialog is invoked a high resolution (anything other than the lowest) is selected. Now, the dialog previewer shows a corrupt image (flickering / snowy, just a bunch of random pixels). This image is then returned to the caller of the camera capture dialog.
The code is essentially taken from the Microsoft site, and runs fine on any other Windows Mobile 5.0 platform we've tried.
What's really annoying is that the code is simple - call the dialog, the user selects the resolution and the capture image is displayed on a form.
Can anyone give any help? I can supply the code. It would be most helpful if anyone had an XDA II on which they'd be willing to try my code.
Thanks,
Marc
That's because the API is not supported on older OS. WM5 is a requirement for it to work.

mini-s screen orientation change

Hi,
I've recently been handed a project that requires forms based data capture (on a xda mini-s). I dont want to limit users to having to use either landscape or portrait mode when completing the forms.
Is there a way to detect the screen orientation and/or get an event when it changes?
thanks
Andy
what language ?
win32?
.net?
yes good point
.net CF v2
C#
Sorted now - it actually generates a form.resize event
i was just over complicating the task

Updated 3/26 : CEPhotoViewer - Small Photo Viewer

Folks,
I have created a small photo viewing application that I wanted to publish to the world. Key features are
- Native C code. No dependencies on .NET or any other library
- Tiny (just 25Kb)
- Full screen photos with gestures and hot-spots
- Slide-show mode
- Nice transitions (you can see them all in the slide show mode)
I have tested this on my GPS (CE 4.2) and PDA (Hermes) and it works quite well.
Gestures:
- Slide left to go to next photo in list (You can also use the wheel down for this)
- Slide right to go to previous photo list (You can also use the wheel up for this)
- Slide up to go to last photo in list
- Slide down to go to first photo in list
Hot Spots
- Top left to open a specific folder. Folder navigation is done by sliding up and down and select the <This Folder> to select
- Bottom left to open a specific photo. Again, you can slide up or down or go to a specific folder
- Bottom Right to start/stop slide show mode. Slideshow is 3 seconds. You can change the config file to specify different interval
- Top right to exit
- Right edge of screen to go to next photo in list
- Left edge of screen to go to previous photo list (You can also use the wheel up for this)
- Bottom edge of screen to go to last photo in list
- Top edge of screen to go to first photo in list
Configuration
CEPhotoViewer saves its configuration in CEPhotoViewer.cfg in the same folder as the exe. This file contains the last open folder and the slide show timeout
Startup
- On startup CEPhotoViewer looks for any JPG/BMP/GIF images in the program's folder. Else it prompts you to select a folder. Once selected the config file is created and subsequent runs, it will automatically pickup that folder
Bugs
- CEPhotoViewer uses native microsoft DLL to load a image. Depending on the speed of your CPU, this loading might be slow. Photos resized to the correct size (under 640x480) load pretty quickly. Large (2MP+) photos take a couple of seconds to load. Perhaps someday I will include native JPG loading codeDone
- CEPhotoViewer is built for ARM CPUs only. I can build for other CPUs but dont have a device handy
Looking forward to your comments. Im also working on finishing a MP3 player and a launcher (more appropriate for GPS devices)
Version history
- v0.67 (3/25/2008)
First public release​- v0.68 (3/26/2008)
Integrated JPEG processing. Much faster in loading big images (although the size tripled from 20Kb to 60Kb)​Added edge hot-spots to navigate in addition to slide gestures​
Feature Request
What do you think of adding in touch Pan, Tilt, Zoom, & Rotate? Also, it would be cool if it auto rotated based on the original pictures orientation.
Thanks,
Curious G
i'll give this a shot when i get home
curious george said:
What do you think of adding in touch Pan, Tilt, Zoom, & Rotate? Also, it would be cool if it auto rotated based on the original pictures orientation.
Thanks,
Curious G
Click to expand...
Click to collapse
Forgot to mention, pictures are auto-rotated if they can fit better in the screen. Also auto-rotates if you change the display (like when I pull out the keyboard)
Nice but it wouldn't load my actual (2mp) photos. Sliding is a bit slow but very smooth. Wouldn't quit and at some point all corners stopped working.
Trekvogel said:
Nice but it wouldn't load my actual (2mp) photos. Sliding is a bit slow but very smooth. Wouldn't quit and at some point all corners stopped working.
Click to expand...
Click to collapse
Loading large images is time consuming, sorry, thats the way microsoft has implemented JPG processing. The corners are not 'not responding', the program is still trying to load the image.
Im trying to compile ijl jpg library that can loaded scaled images, that way I only decompress the size I want
3/26 - Version updated
Guess I'm in the minority who resizes images to fit in PDA screen. Due to popular demand, I have integrated the IJG jpeg library to considerably speed up loading of large images (largely due to internal image scaling)
Also added edge hotspots to navigate images, rather than slides which are bit cumbersome
my personal opinion(i havent seen program YET):
any viewer, that cannot show gif/animgif/png/tga/bmp files is pointless.
it doesn't matter how "touch"-ed it will be.
so - i am gonna update opinion after tests..
nothin said:
my personal opinion(i havent seen program YET):
any viewer, that cannot show gif/animgif/png/tga/bmp files is pointless.
it doesn't matter how "touch"-ed it will be.
so - i am gonna update opinion after tests..
Click to expand...
Click to collapse
It does show gif and bmp. Adding png is trivial (libpng can be compiled easily in CE, both PNG and TIF take about 100Kb each). My intent is to what cover 80% of the people would want.
Just tried it on my Trinity and, while the transition speed is nothing to write home about, the software works. Not sure if i prefer this or S2V, but it has to be said this is a nice application.
Edit
Could do with more space at the top when navigating folders, the directory path disappers under the "This Folder" button.
Please could we have screenshots?
iamwhoiam said:
Please could we have screenshots?
Click to expand...
Click to collapse
It shows your photo on the full screen, so screenshots are not of any use
deedee said:
Just tried it on my Trinity and, while the transition speed is nothing to write home about, the software works. Not sure if i prefer this or S2V, but it has to be said this is a nice application.
Edit
Could do with more space at the top when navigating folders, the directory path disappers under the "This Folder" button.
Click to expand...
Click to collapse
The main goal of writing this app was to have it working on all CE devices (including GPS that do not have the .NET framework installed).
Also, there are more transitions than just the slides that are visible when you are in slide-show mode
Amazing Program!!
I've just gotten myself a windows mobile phone. I looked everywhere for a simple photo viewer that could scroll through images by tapping on the left or right of the screen. I didnt understand why resco photoviewer or pqv or any of those other photo viewers didnt have this feature. It was so frustrating.
Also I wanted to browse folders starting at a pre-configured Picture folder. I didnt want the program to go scanning my whole PDA for pics including gifs and pngs for some other softwares.
Finally found this program and I'm really happy.
I wonder if you're still developing this program though? This thread doesnt seem to be active anymore. I hope you'll still continue developing this program.
If you're too busy, I'd be happy to help in some aspects of coding or improving the program. It really is that amazing to me.
Hope this program is still alive.
Lodd said:
I've just gotten myself a windows mobile phone. I looked everywhere for a simple photo viewer that could scroll through images by tapping on the left or right of the screen. I didnt understand why resco photoviewer or pqv or any of those other photo viewers didnt have this feature. It was so frustrating.
Also I wanted to browse folders starting at a pre-configured Picture folder. I didnt want the program to go scanning my whole PDA for pics including gifs and pngs for some other softwares.
Finally found this program and I'm really happy.
I wonder if you're still developing this program though? This thread doesnt seem to be active anymore. I hope you'll still continue developing this program.
If you're too busy, I'd be happy to help in some aspects of coding or improving the program. It really is that amazing to me.
Hope this program is still alive.
Click to expand...
Click to collapse
Glad to hear that this application is working well for you.
I have not stopped development on this, added additional features like PNG, GIF decoding and automatic rotation.
This being a PPC forum, there is not much need for this app since there are multiple options (including built-in applications). I had made this app and many others primarily for GPS and other low end devices without the standard libraries.
I will update this thread with the latest version and also add other applications I have built (including native MP3/OGG player, simple shell, GPS dashboard etc), all totally skinnable and configurable
The program has been amazing. Loads huge pictures with no problem. It's definitely faster than Vito's EyePhoto.
But Coolsva, I have a question. Now call me crazy, but I want to be able to set it up so that when I click a jpg file in file explorer or total commander, it will open up in your photoviewer instead of the windows mobile default viewer (coz it sucks). What're the parameters to do so? I tried the normal parameter "%1" but it doesn't seem to work.
I'm glad you're still working on this program.
Cool program , but zoom would be nice feature
coolsva said:
I will update this thread with the latest version and also add other applications I have built (including native MP3/OGG player, simple shell, GPS dashboard etc), all totally skinnable and configurable
Click to expand...
Click to collapse
Looks interesting, please do it !
Just now landed at this thread after spending a while checking out google results for "windows mobile picture viewer". Coolsva's prog sounds very worth trying, but I'm wondering if 0.68 is still the latest release?
HarpShot
________________________________
He had a photographic memory that was never developed.
Just saw this too, this could have real potential
I'm also searching for a simple photo viewer like Lodd mentioned

[REQ HELP]C# running an infinite loop without hanging the application

Hello all
i want something possible like multithreading
and on thread to be running all time (infinitely until application is exited)
it would be like this
after every X seconds it will check for an update
i tried it but it hangs my mobile
so is there any another alternate to use an infinite loop without hanging my app
sorry but i am very much poor in background workers and dont know how to work with them
thnx in advance
Use a timer.
Windows is an event driven OS. You do not have the right to hog resources waiting for a particular event to occur. Create a timer object, and set it to fire every x second(s). The function you provide as as the trigger/execute/action function, will actually perform the validation and carry out the action that is required.
Your application should take the back seat, and wait for it to be called. Meanwhile it will allow WinMo to carry on with its job....
Hi stephj
Thanks for your reply
could you please give me an example or some syntax for using it
looks like i really dont have right to hog the resources of windows
If you use Visual studio, you only have to put on your form a Timer object.
You define the intervall property in the property tab and you enable it.
In design mode, when you double click on the Timer on your form, visual studio create an empty event for you. All you have to do is to fill the event with your code.
'htcvidi' has hit it right on the nail. (en Francais, "parfaitement")
Included is the code to do it, together with the complete application.
A trivial example that displays the current date time in a label on the form.
The value is updated every five seconds.

Android indoor map generates different path from point a to b depending on user input

Android indoor map using image generates different path from point a to b depending on destination's input (No use of indoor navigation technologies)
I'm working on an android app for my final year project and I'm unsure how to solve this problem. I would like some advices to get me started in the right direction.
The project is to develop an android app to output a direction path from point a to point b on an image representing a two dimensional indoor map. The direction displayed will be depending on the user's input (destination). The starting point will always be the same location on the image. Once the user select a specific object, the app should find its location on the map using a database and then draw the direction's path from Point "a" to point "b".
I do not want to use any indoor navigation technology for this app. The location of each object on the map should be predefined and stored in a database.
The part which I am really unsure about is how to do the following for and android app. --> How to predefine points on an image and how to use these predefined data to display the path to take in the image representing the indoor map. I have been advised to use SVG (Scalable Vector Graphics), I have found androidVG to use SVG with android but I haven't found much information on it.
I am currently clueless regarding what language and techniques to use in order to perform the above feature on android.
Questions:
1) What general advice would you give me on how to effectively tackle this problem from the information I've provided?
2) Was I correctly advised when I have been given SVG as one of the language to use for the development of this app? If I was, would anybody have any more information on using SVG for android to provide me with?
3) IF there would be a better way to solve this problem which language should be used?
I really appreciate all the help provided in this community. Hopefully I have been clear enough, hoping to have my questions answered.
Thank you!

Categories

Resources