Support for ANSI/NIST-ITL 1-2011

General information about Neurotechnology and its software

Support for ANSI/NIST-ITL 1-2011

Postby fabyan » Feb 03, 2017 20:08

Hello,

Does Neurotec Biometric SDK 9 supports ANSI/NIST-ITL 1-2011?
fabyan
 
Posts: 6
Joined: Feb 03, 2017 19:52

Re: Support for ANSI/NIST-ITL 1-2011

Postby MartynasV » Feb 06, 2017 09:04

fabyan wrote:Hello,

Does Neurotec Biometric SDK 9 supports ANSI/NIST-ITL 1-2011?

Hello,

No, not yet - we already working on implementing it, we expect to release it in 3rd quarter of this year.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 247
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Support for ANSI/NIST-ITL 1-2011

Postby fabyan » Feb 06, 2017 12:56

Thanks for the info :D
fabyan
 
Posts: 6
Joined: Feb 03, 2017 19:52

Re: Support for ANSI/NIST-ITL 1-2011

Postby mohamadhatami » Jul 25, 2017 06:18

hi

i have NIST file of 10 finger image
i want extarct image to file

i use this code

//--------------------------------------------------------
using (var template = new ANTemplate(args[0], ANValidationLevel.Standard))
{
for (int i = 0; i < template.Records.Count; i++)
{
ANRecord record = template.Records[i];
NImage image = null;
int number = record.RecordType.Number;
if (number >= 3 && number <= 8 && number != 7)
{
image = ((ANImageBinaryRecord)record).ToNImage();
}
else if (number >= 10 && number <= 17)
{
image = ((ANImageAsciiBinaryRecord)record).ToNImage();
}

if (image != null)
{
string fileName = string.Format("record{0}_type{1}.jpg", i + 1, number);
image.Save(fileName);
image.Dispose();
Console.WriteLine("Image saved to {0}", fileName);
}
}
}
//--------------------------------------------------------
it work fine except for this file:
https://www.dropbox.com/s/xyd2hiwx0yolrvp/1130.dat?dl=0


error: Field has an invalid format in type-1 record in the ANSI/NIST File


tank u
mohamadhatami
 
Posts: 5
Joined: Jul 25, 2017 05:50

Re: Support for ANSI/NIST-ITL 1-2011

Postby MartynasV » Jul 25, 2017 11:13

mohamadhatami wrote:hi

i have NIST file of 10 finger image
i want extarct image to file


it work fine except for this file:
https://www.dropbox.com/s/xyd2hiwx0yolrvp/1130.dat?dl=0


error: Field has an invalid format in type-1 record in the ANSI/NIST File


tank u

Hello mohamadhatami,

"DAT" field contains date in incorrect format. You should check how your other templates writes date in that field or check how this format requires date to be written, then fix it.
"SDK\Bin\Win32_x86\ANTemplateSampleCS.exe" tool can be used to open ANSI/NIST templates.

P.S. If you only use year, month and day, then it should look like this: "20121226".
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 247
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Support for ANSI/NIST-ITL 1-2011

Postby mohamadhatami » Jul 26, 2017 03:34

MartynasV wrote:
mohamadhatami wrote:hi

i have NIST file of 10 finger image
i want extarct image to file


it work fine except for this file:
https://www.dropbox.com/s/xyd2hiwx0yolrvp/1130.dat?dl=0


error: Field has an invalid format in type-1 record in the ANSI/NIST File


tank u

Hello mohamadhatami,

"DAT" field contains date in incorrect format. You should check how your other templates writes date in that field or check how this format requires date to be written, then fix it.
"SDK\Bin\Win32_x86\ANTemplateSampleCS.exe" tool can be used to open ANSI/NIST templates.

P.S. If you only use year, month and day, then it should look like this: "20121226".




i have DataSet
that some files like this
i dont create it.

i can see this file by some other application like "nistViewer"

can i ignore converting date in your code?

please explain some solution for converting this file to image with out "change source file"

i just need finger images and not other data!!

tank u
mohamadhatami
 
Posts: 5
Joined: Jul 25, 2017 05:50

Re: Support for ANSI/NIST-ITL 1-2011

Postby MartynasV » Jul 26, 2017 09:43

mohamadhatami wrote:
MartynasV wrote:
mohamadhatami wrote:hi

i have NIST file of 10 finger image
i want extarct image to file


it work fine except for this file:
https://www.dropbox.com/s/xyd2hiwx0yolrvp/1130.dat?dl=0


error: Field has an invalid format in type-1 record in the ANSI/NIST File


tank u

Hello mohamadhatami,

"DAT" field contains date in incorrect format. You should check how your other templates writes date in that field or check how this format requires date to be written, then fix it.
"SDK\Bin\Win32_x86\ANTemplateSampleCS.exe" tool can be used to open ANSI/NIST templates.

P.S. If you only use year, month and day, then it should look like this: "20121226".




i have DataSet
that some files like this
i dont create it.

i can see this file by some other application like "nistViewer"

can i ignore converting date in your code?

please explain some solution for converting this file to image with out "change source file"

i just need finger images and not other data!!

tank u

Hello mohamadhatami,

To read those templates you will need to add "ANTemplate.FlagLeaveInvalidRecordsUnvalidated" flag to ANTemplate:
Code: Select all
var template = new ANTemplate(args[0], ANValidationLevel.Standard, ANTemplate.FlagLeaveInvalidRecordsUnvalidated)

Then it will be able to create/read that template.

If you get "Not implemented" error in line "((ANImageAsciiBinaryRecord)record).ToNImage();", then you will need additionally add "BdifTypes.FlagNonStrictRead" flag:
Code: Select all
ANTemplate.FlagLeaveInvalidRecordsUnvalidated | BdifTypes.FlagNonStrictRead


Note that those images are of WSQ format, so make sure that you have obtained "Images.WSQ" licensing component.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 247
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania


Return to Public

Who is online

Users browsing this forum: No registered users and 4 guests

cron