Git Product home page Git Product logo

Comments (7)

brianrho avatar brianrho commented on July 17, 2024

Hi, are you able to successfully run the image-to-pc example at least?

What does your modified getImage.py look like? You can provide it through pastebin.com.

from fpm.

NaMLiM avatar NaMLiM commented on July 17, 2024

yes, i can send the image through serial using the example code.

this is the modified code https://pastebin.com/jyXfL08Z

this is wireshark showing my pc receive packet from udp port 9999
image

from fpm.

brianrho avatar brianrho commented on July 17, 2024

Okay, a few things:

  • You need to re-write the socket-recv-to-file like so.
  • Since UDP has no connection setup or teardown, you'll need some way to tell the script when the image stream begins and when it ends (e.g. a \t marker like the original getImage script). But that's not too urgent.

Without such a marker, for now, you'll need to have the script running first, before you place your finger on the sensor to start the image-transfer. This should ensure that the UDP server receives every packet sent by the Arduino.

When the Arduino stops sending data for 5s or the script has read enough data for an image, the script will end.

from fpm.

brianrho avatar brianrho commented on July 17, 2024

Keep in mind that Wireshark only shows the data being sent over the network, but not necessarily whether the script/application is reading/processing said data i.e. a closed port. There are no ACKs etc. with UDP -- best you can hope for when sending data to a closed port, is ICMP errors and I don't think these are guaranteed from all devices.

from fpm.

NaMLiM avatar NaMLiM commented on July 17, 2024

thank you ... it worked 👍

one more question... can you recommend me a fingerprint matching library for r307?
i tried using SourceAFIS(c#) but the similarity score is always bad
my sensor can match fingerprint just fine using the built in matcher.

this is the fp image taken from the sensor
finger4

from fpm.

brianrho avatar brianrho commented on July 17, 2024

You mean a library for PC-side matching?

I briefly considered porting SourceAFIS a long time ago, but didn't get very far. Still, it should work so long as you feed it images correctly, though I haven't tried it myself.

You can also try this. It should enable you generate templates and perform 1:1 matching, using a DLL "offered" by the sensor manufacturers. Windows and Linux are supported.

from fpm.

brianrho avatar brianrho commented on July 17, 2024

I'll be closing this, if that answers your questions.

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.