Comments (9)
That's a large topic. I cannot just answer it here. I will keep this issue open as a reminder to write an article about it.
from sourceafis-java.
would you please attache here documents link that can help?
Is there any solution to index these data in sql database
or nosql
I need your hints ASAP :D
from sourceafis-java.
All templates must be loaded in RAM and deserialized into FingerprintTemplate objects for matching to be fast. I cannot say more here.
from sourceafis-java.
but I think this is not an efficient way!
because for 100,000 users we have to handle about 60MB data compare.
Do have know another idea or platform to store and compare?
from sourceafis-java.
I use LMDB for that. It's neat in the sense that all the fingerprints can be read quickly and the index is fast. But yeah, there is no escaping keeping the processed templates in RAM for fast matching performance. One could try to modify the codebase for having flat templates that can also be memory-mapped, but that is sure to be a pain in Java.
edit: I mentioned LMDB, but I learned the hard way that the db technology doesn't matter much. What matters is keepíng all the processed templates in RAM at all times. That should be no problem for a modern system, even with tens of thousands of entries. Figuring out how to update this cache as efficiently as possible is important as well. It can be done using SQL triggers or by adding hooks to the system that modifies the DB.
from sourceafis-java.
@lucaspcamargo Thanks for your response buddy
I try to load data in memory and that solved my problem.(using a simple array list and comparing method for 1:n)
from sourceafis-java.
because for 100,000 users we have to handle about 60MB data compare.
Did you mean - Mb or Gb? 60 Mb is not such a large amount of data? It looks more like 60Gb per 100,000 users to me.
from sourceafis-java.
because for 100,000 users we have to handle about 60MB data compare.
Did you mean - Mb or Gb? 60 Mb is not such a large amount of data? It looks more like 60Gb per 100,000 users to me.
MB
from sourceafis-java.
Memory usage benchmarks for templates are now available:
https://sourceafis.machinezoo.com/cli
The general topic of using SourceAFIS on large databases is too broad for one issue. Please open separate issues to request specific documentation.
from sourceafis-java.
Related Issues (20)
- erro toByteArray() HOT 1
- Core and Delta detection HOT 2
- Different scores when interchanging probe and candidate for matching (color fingerprint photos) HOT 1
- Do we really need to check pixel buffer size? HOT 1
- very long response time HOT 2
- Segmentation of multi-finger images HOT 2
- When I try and build the code in netbeans I get the following error HOT 10
- Matching Speed HOT 3
- Sample code to enroll and match two fingerprints HOT 4
- Camera input HOT 4
- Java Android - Error during APK Build HOT 4
- Not getting score above 10 by using FingerprintMatcher HOT 3
- Am GEtting my image from a url how possible to match?? HOT 3
- SourceAFIS 3.16.1 Error HOT 1
- What type of algorithm is used? HOT 1
- Compress fingerprint in smartcard HOT 1
- Compare 2 differents fingerprints with different size from different device HOT 5
- Fingerprint deduplication HOT 3
- Android Proguard Rules HOT 1
- Excess ram usages when storing FingerprintTemplate in java hashmap Cache HOT 1
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 sourceafis-java.