User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 456,573 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,607 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 1563 | Replies: 11 | Solved
Reply
Join Date: Oct 2007
Posts: 6
Reputation: dddave999 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dddave999 dddave999 is offline Offline
Newbie Poster

Best language for writing OMR program?

  #1  
Oct 25th, 2007
I would ultimately like to write my own OMR (Optical Mark Recognition) program.

What language would you recommend is best to carry out this task.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2005
Posts: 3,834
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 23
Solved Threads: 436
Colleague
Salem's Avatar
Salem Salem is offline Offline
banned

Re: Best language for writing OMR program?

  #2  
Oct 25th, 2007
Let's see, you chose to ask "which is the best language" in a C++ forum.

Are you going to listen to any answer which isn't "use C++" ?

Or let me put this another way, do you already know C++ in any shape or form?
Last edited by Salem : Oct 25th, 2007 at 5:17 pm.
Reply With Quote  
Join Date: Oct 2007
Posts: 62
Reputation: Ptolemy is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 8
Ptolemy's Avatar
Ptolemy Ptolemy is offline Offline
Junior Poster in Training

Re: Best language for writing OMR program?

  #3  
Oct 25th, 2007
If you understood the problem well enough to actually write this program, you wouldn't need to ask what language is best. I'll go out on a limb and say you're in over your head at present.
Reply With Quote  
Join Date: Oct 2007
Posts: 6
Reputation: dddave999 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dddave999 dddave999 is offline Offline
Newbie Poster

Re: Best language for writing OMR program?

  #4  
Oct 26th, 2007
Originally Posted by Salem View Post
Let's see, you chose to ask "which is the best language" in a C++ forum.

Are you going to listen to any answer which isn't "use C++" ?

Or let me put this another way, do you already know C++ in any shape or form?



No, new to programming, so I would like to invest what free time I have to the best (and probably the quickest to grasp!) language. Any advice would be appreciated, as I would be frustrated 6 months down the line to find that the language (whichever one) does not have the command(s) to carry out the task.
Reply With Quote  
Join Date: Aug 2005
Posts: 4,832
Reputation: iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light 
Rep Power: 17
Solved Threads: 324
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Industrious Poster

Re: Best language for writing OMR program?

  #5  
Oct 26th, 2007
The question you should be really asking is what algorithms/ideas would be best for writing an OMR.
Last edited by iamthwee : Oct 26th, 2007 at 5:03 pm.
... the hat of 'is this a cat in a hat?'
Reply With Quote  
Join Date: Oct 2007
Posts: 6
Reputation: dddave999 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dddave999 dddave999 is offline Offline
Newbie Poster

Re: Best language for writing OMR program?

  #6  
Oct 26th, 2007
Originally Posted by Ptolemy View Post
If you understood the problem well enough to actually write this program, you wouldn't need to ask what language is best. I'll go out on a limb and say you're in over your head at present.



I am looking at the problem in this way:

If I can read the colour of pixels on the screen at certain locations I could determine if a location has been completed or not.

There will be many locations to read with the option of, “if box A is ticked then box B must be ticked or report an error” etc.
Reply With Quote  
Join Date: Dec 2005
Posts: 3,834
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 23
Solved Threads: 436
Colleague
Salem's Avatar
Salem Salem is offline Offline
banned

Re: Best language for writing OMR program?

  #7  
Oct 27th, 2007
Most programming languages are a very generalised means of implementing all kinds of solutions. C++ is used from everything from a mobile phone to your games to your browser. Although you may think your time would be better spent, once you do "get it", a whole host of possibilities become open to you.

There may well be some "language" or "library" which makes your OMR as easy as falling off a log, but you won't be able to use that knowledge for anything else, it will be far too specialised.

Most of what you've said so far is more reliant on the Win32 API (or the API of whatever OS you're using) rather than any specific language feature.

The next question is where is your data coming from?
Because if it's coming from a scanned image of a hard-copy form, then there are a whole range of other problems which you'll need to solve.
But if the data is already in a machine readable form, why do you need to complicate it with OMR?
Reply With Quote  
Join Date: Oct 2007
Posts: 6
Reputation: dddave999 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dddave999 dddave999 is offline Offline
Newbie Poster

Re: Best language for writing OMR program?

  #8  
Oct 27th, 2007
The images (pre printed survey forms) will be scanned in.
Yes I can see problems with alignment for one, but there should be a way of solving this.
Running Windows XP
Reply With Quote  
Join Date: Dec 2005
Posts: 3,834
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 23
Solved Threads: 436
Colleague
Salem's Avatar
Salem Salem is offline Offline
banned

Re: Best language for writing OMR program?

  #9  
Oct 27th, 2007
How much tolerance of colour / greyscale is there?

Are the user "marks" computer generated, or are they hand marked with a pen? What about different pen colours?

What about upside-down scanned images?

What about mirrored images (even possible)?

Do the scanned images have "registration" marks which help orient and position the scanned image. If they don't, that makes it harder.

What image format are the images in? I'm guessing JPEG if they're coming direct from a scanner.

Just a sample of the questions I would be asking about the problem before I even get anywhere near the code.
Reply With Quote  
Join Date: Oct 2007
Posts: 6
Reputation: dddave999 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dddave999 dddave999 is offline Offline
Newbie Poster

Re: Best language for writing OMR program?

  #10  
Oct 27th, 2007
Tolerance of colour and grey scale - not sure

User marks with a black pen

Upside down forms - could be rejected, or tell the program the form is upside down and scan accordingly.

Mirrored images – same as above, but these will be unlikely.

No registration marks as such – was thinking of using lines /characters already printed on the forms.

Images will be JPEG

Thanks for the interest, I assume from your questions that C++ has the potential to solve the problem.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 6:09 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC