openafis
openafis copied to clipboard
ISO file exceeds MaximumLength
I'm trying to run the openafis-cli
on some images whose format is (or should be) an ISO 19794-2 FMR
The size of the image is significantly bigger than the ones provided as a test_data in this repo. I'm fairly new to this repo, formats, and standards so I may be missing some important concepts here. Is there a reason for this limitation? (assuming it's a limitation and not a mistake on my end).
➜ du prj/valid/fvc2002/DB1_B/101_2.iso
100 prj/valid/fvc2002/DB1_B/101_2.iso
➜ ./cli/openafis-cli one-many --f1 /tmp/template.iso --path prj/valid/
OpenAFIS: an efficient 1:N fingerprint matching library (SCALAR)
Build options:
MaximumLocalDistance: 12
MaximumGlobalDistance: 12
MinimumMinutiae: 4
MaximumConcurrency: 256
MaximumRotations: 3
====================================================================================================
1:N match
Path: prj/valid/
Template 1: /tmp/template.iso
Load factor: 1
Concurrency: 8
====================================================================================================
Loading...
error: filesize > MaximumLength prj/valid/fvc2002/DB1_B/101_2.iso
error: failed to load prj/valid/fvc2002/DB1_B/101_2.iso
- What's the maximum length?
- Can it be changed?
FWIW, I tried to manually set it to something bigger but it didn't help much :sweat_smile:
I have the same issue.
OpenAFIS: an efficient 1:N fingerprint matching library (SCALAR)
Build options:
MaximumLocalDistance: 12
MaximumGlobalDistance: 12
MinimumMinutiae: 4
MaximumConcurrency: 256
MaximumRotations: 3
====================================================================================================
50K iteration 1:1 match
Path:
Template 1: /sistemas/H_0006364734502011081.iso
Template 2: /sistemas/isos/H_00702089024020230321_9143903c-d03a-42f0-9108-9f74288caac3.jpg.iso
Template 3: /sistemas/isos/35781679_1.wsq.iso
====================================================================================================
Loading...
Template 1: size 960 bytes, #fingerprints 1
Template 2: size 1264 bytes, #fingerprints 1
error: totalLength != length
where /sistemas/isos/35781679_1.wsq.iso is my iso
prfmr /sistemas/isos/35781679_1.wsq.iso
Format ID : FMR
Spec Version : 20
Record Length : 1651
CBEFF Product ID : 0x00010001
Capture Eqpt : Compliance, None given; ID, 0x000
Image Size : 800x750
Image Resolution : 65535x65535
Number of Views : 1
[001] ----------------------------------------------------
Finger View Minutia Record:
Finger Number : 0
View Number : 0
Impression Type : 0
Finger Quality : 0
Number of Minutiae : 79
I have the same issues. I convert images through online tools but it gives me the same error message