Giter Site home page Giter Site logo

Resulting Image about fpm HOT 2 CLOSED

brianrho avatar brianrho commented on July 18, 2024
Resulting Image

from fpm.

Comments (2)

brianrho avatar brianrho commented on July 18, 2024

No, it is a good question πŸ™‚οΈ

First, I haven't deliberately tried scanning anything but fingers, so I can't offer any concrete answers.

Next, we can try to guess what would happen, based on known behaviour so far. I'll assume you're referring specifically to the class of optical sensors like the R307. And that you want to take photos of something and dump those images from the sensor buffer.

Whenever you scan a something with the sensor, it returns a confirmation code which can be any of these from the datasheet:

0x00: finger collection success
0x01: error when receiving package
0x02: can’t detect finger
0x03: fail to collect finger

The last 2 suggest that it can tell whether you have placed a finger or not. But it could also be that the sensor's capabilities aren't as precise as their language suggests i.e. perhaps they really mean that they can tell when you have placed anything on the sensor. In the latter case, it may then be possible to fool the sensor into thinking a finger is placed on the sensor, when we're actually taking scanning some paper or whatever. The sensor should return success here, if that works.

Alternatively, we simply ask the sensor to take a snapshot of whatever we put on it, and then ignore the confirmation code entirely. Next, we dump the image buffer to see what got captured. For this to work, we'd be assuming that the image buffer's contents are always valid after the GetImage command runs, even when the sensor didn't detect a finger (like error 0x02).

You could try these on a sensor and see what happens.

from fpm.

WanLoq avatar WanLoq commented on July 18, 2024

Thanks a lot for your extensive answer i really appreciate. I will get one of the R307 to test this out for myself. I will be sure to update this once I've been able to test it out.

from fpm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.