Breaks down a ANSI INCITS 378-2004 Finger Minutiae Format
Supports go versions > 1.12.1. To install add this line to your go.mod file
github.com/yombu360/ANSI-378-Decoder
-
Get Record headers
GetFMDRecordHeaders(fmdByteArray []byte) (recordHeaders map[string]interface{}, err error)Takes in a
fmdByteArraywhich is an array of bytes and returns therecordHeader -
Get View Data
GetViewRecords(fmdByteArray []byte, views uint8) (fingerViewRecords map[string][]interface{}, err error)Takes in a
fmdByteArraywhich is an array of bytes andviews(Can be obtained from record header) and returns a map offingerViewRecordsSample Output:
map[ Finger View 1: [ map[ Finger Position:0 Finger Quality:86 Impression Type:0 Minutiae Count:45 View Number:0 ] map[ Angle:120 Minutiae Type:1 Quality:100 Reserved:0 X coordinate:80 Y coordinate:291 ] : : ] : : : Finger View N: : :