Comments (7)
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.
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
from fpm.
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 originalgetImage
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.
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.
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
from fpm.
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.
I'll be closing this, if that answers your questions.
from fpm.
Related Issues (20)
- Upload Image To Reader Slot HOT 2
- R503 led_control problem HOT 9
- Get free/available index for new fingerprint enrollment HOT 2
- templates example fails HOT 8
- Getting "packet too long" using the templates example HOT 1
- issue with sunlight HOT 3
- Upload template to AS608 HOT 3
- How can i get buffer data and convert to image? HOT 6
- Template file download time HOT 1
- Upload prints to finger module HOT 6
- Can not connect AS608 to Arduino UNO HOT 2
- Unable to save image using c language HOT 3
- Can we save jpg or png instead of bmp ? HOT 1
- Waiting for valid finger to enroll - finger not detected HOT 1
- Resulting Image HOT 2
- Send image over http request HOT 19
- Wrong read length on POST request HOT 1
- Showing error : Communication Error HOT 3
- Error with R307, non-readable char on serial monitor, in arduino web HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpm.