User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 423,505 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 4,629 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 PHP advertiser: Lunarpages PHP Web Hosting
Views: 943 | Replies: 4
Reply
Join Date: Jun 2007
Posts: 2
Reputation: daniten1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
daniten1 daniten1 is offline Offline
Newbie Poster

Question php read text scanned from other text editor

  #1  
Jun 8th, 2007
hi please give me some advice i have a registrar system that used for a small colleges and schools.the system now works fine but i want to enter the student grade authomatically by scanning method anyone would give me some advice or help i will appreciet it.




thankes very much
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2006
Location: New Jersey
Posts: 1,422
Reputation: stymiee is on a distinguished road 
Rep Power: 5
Solved Threads: 34
Moderator
stymiee's Avatar
stymiee stymiee is offline Offline
He's No Good To Me Dead

Re: php read text scanned from other text editor

  #2  
Jun 8th, 2007
You will need to describe what you are trying to do a little bit better as it is not very clear.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Reply With Quote  
Join Date: Jun 2007
Posts: 2
Reputation: daniten1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
daniten1 daniten1 is offline Offline
Newbie Poster

Re: php read text scanned from other text editor

  #3  
Jun 8th, 2007
thankes for ur fast reply.The existing system has a grade insertion page manually(for each student you have to enter a letter grade with in the provided text box).But what i want is to enter grade of students that have taken the same course by scanning the grade list paper once.
Last edited by daniten1 : Jun 8th, 2007 at 10:31 am. Reason: grammar error
Reply With Quote  
Join Date: May 2006
Location: New Jersey
Posts: 1,422
Reputation: stymiee is on a distinguished road 
Rep Power: 5
Solved Threads: 34
Moderator
stymiee's Avatar
stymiee stymiee is offline Offline
He's No Good To Me Dead

Re: php read text scanned from other text editor

  #4  
Jun 8th, 2007
So have them either all of the grades at once and then update all of the relevant records from that?
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Reply With Quote  
Join Date: Sep 2005
Posts: 689
Reputation: digital-ether has a spectacular aura about digital-ether has a spectacular aura about 
Rep Power: 6
Solved Threads: 41
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Practically a Master Poster

Help Re: php read text scanned from other text editor

  #5  
Jun 10th, 2007
Originally Posted by stymiee View Post
So have them either all of the grades at once and then update all of the relevant records from that?


Sounds complicated.
You'll need an OCR (Optical Character Recognition) Software first translate the scanned page into Text. (if they characters are hand written, this won't work)

Then you'll need a custom written TXT parser to parse the Text, and convert it into the format that is saved by your HTML Form (like the database, or text file where the grades are stored). Quite simple.

The hard part is setting up the OCR to accept input from PHP, the binary data from the scanned image. And sending that back to PHP.

Usually, if you have a command line OCR it would be just a system call from PHP:
exec('path/to/ocr/ -options 'image_file.png' >> output.txt');
$text_from_image = file('ouput.txt');

I've never used an OCR program before so I'm not 100% sure if its that simple or not..

You'd have to manually scan each page however, and upload the images via PHP..
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote  
Reply

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

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

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

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