-
Notifications
You must be signed in to change notification settings - Fork 0
/
ProjectSettings.cs
executable file
·40 lines (34 loc) · 1.3 KB
/
ProjectSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BIO.Framework.Extensions.Standard.Database.InputDatabase;
using BIO.Framework.Extensions.Emgu.InputData;
namespace BIO.Project.FingerPrintRecognition
{
class ProjectSettings :
BIO.Project.ProjectSettings<StandardRecord<StandardRecordData>, EmguGrayImageInputData>,
IStandardProjectSettings<StandardRecord<StandardRecordData>>
{
#region IStandardProjectSettings<StandardRecord<StandardRecordData>> Members
public int TemplateSamples
{
get
{
return 1;
}
}
#endregion
public override Framework.Core.Database.IDatabaseCreator<StandardRecord<StandardRecordData>> getDatabaseCreator()
{
// TODO: Vlozit spravnou slozku!!!!
return new FingerPrintDatabaseCreator(@"..\..\jaffe");
//return new FingerPrintDatabaseCreator(@"..\..\jaffe\PNG");
}
protected override Framework.Core.Evaluation.Block.IBlockEvaluatorSettings<StandardRecord<StandardRecordData>, EmguGrayImageInputData> getEvaluatorSettings()
{
return new FingerPrintEvaluationSettings();
}
}
}