On Sep 17, 2012, at 12:14 PM, Scott Ribe wrote:

> On Sep 16, 2012, at 8:45 PM, RoR newbie wrote:
> 
>> I'm a graduating student of IT right now and in a couple of months, we'll be 
>> starting on a new project in the University. My group and I decided to 
>> create a voting system which requires Fingerprint scanner to identify the 
>> voters and make the voting process more secured. I still don't know how 
>> biometrics fingerprint scanner works exactly and I've just started to do 
>> some research.
>> 
>> So my question is, is it even possible that RoR can use a biometrics 
>> fingerprint scanner? 
>> 
>> I've been searching the net (until now) if there are some tutorials or tips 
>> that could help me do this project using RoR..
> 
> This is not a rails question at all. It's a web browser & fingerprint scanner 
> question.
> 
> Is there any way to access fingerprint scanner results from a web browser? If 
> so, using RoR to handle the backend of the web application is no different 
> than any other web app. If not, rails certainly can't help you around that 
> roadblock.

A lot of these external hardware devices talk to the host computer over USB, 
and some I have used (barcode scanners) basically pretend to be a keyboard 
typing really fast. I have no idea how your fingerprint reader is meant to 
interact with the host computer, but I would start by reading its manual and 
figuring out how it was meant to connect to a stand-alone PC. Then see how you 
can go from there. You could have a button to "start" the scanner, which would 
use JavaScript to shift focus to a hidden text field and wait for the scanner 
to "type" the results into that field. Poll the field for changes, and after a 
change and a pause (to avoid catching it half-way through a change) send the 
form to your Rails server. The rest, as others have said here, is as easy as 
Rails.

Walter

> 
> -- 
> Scott Ribe
> [email protected]
> http://www.elevated-dev.com/
> (303) 722-0567 voice
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to