-
Notifications
You must be signed in to change notification settings - Fork 1
Install Iris Scan System
The Iris Scan system consists of an application – NServer – which performs biometric template matching and database which stores application user details and peoples’ biographic and Iris scan template.
The NServer requires activation of NServer and IrisMatcher licenses.
- The running MySQL 5.7 database server is required.
- The database server must be accessible from server where the NServer application is going to be installed.
- The database server can be shared with OpenMRS backend application database server.
Create new database schema and new user with privileges listed in command below. The schema and user are going to be used by the NServer.
GRANT INSERT, DELETE, UPDATE, SELECT, DROP, CREATE
ON <schema>.* TO <db_user>@localhost IDENTIFIED BY '<password>';
Create the user table within the new schema
- Create table
CREATE TABLE usertbl
(
template LONGBLOB NOT NULL,
dbid TINYTEXT NOT NULL,
id INT(11) NOT NULL auto_increment,
PRIMARY KEY (`id`)
)
- Add the biographic fields
ALTER TABLE `<schema>`.`usertbl`
ADD COLUMN `firstname` VARCHAR(50) NULL after `id`,
ADD COLUMN `lastname` VARCHAR(50) NULL after `firstname`,
ADD COLUMN `dateofbirth` VARCHAR(10) NULL after `lastname`,
ADD COLUMN `phone` VARCHAR(15) NULL after `dateofbirth`,
ADD COLUMN `address` VARCHAR(255) NULL after `phone`,
ADD COLUMN `city` VARCHAR(20) NULL after `address`,
ADD COLUMN `postalcode` VARCHAR(10) NULL after `city`,
ADD COLUMN `creator` VARCHAR(50) NULL after `postalcode`,
ADD COLUMN `creationdate` VARCHAR(50) NULL after `creator`,
ADD COLUMN `modifiedby` VARCHAR(50) NULL after `creationdate`,
ADD COLUMN `modificationdate` VARCHAR(50) NULL after `modifiedby`;
- Create Index
CREATE INDEX index_dbid
ON usertbl (Dbid(10));
The following steps describe how to obtain, configure and start NServer application on a destination server. The destination server must run any 64-bit Linux distribution.
-
Download the Neurotechnology licensed SDK and upload to the server where you want to install Iris NServer.
-
Extract the SDK ZIP file “Neurotec_Biometric_10_0_SDK_2018-01-23.zip” in the server.
- Suggested extraction location: /opt/Neurotec_Biometric
-
Internet License Setup
- Upload the NServer and IrisMatcher licenses to the server, save them in known and safe path.
- Example location: /opt/Neurotec_Biometric/Licenses
- Create or modify pgd.conf file with NServer configuration. The mode has to be set to server. All license files have to be configured in the file.
- Example file content: Mode = server LicenseFile = /opt/Neurotec_Biometric/Licenses/MyCompany_IrisMatcher.lic LicenseFile = /opt/Neurotec_Biometric/Licenses/NServer.lic
- Activate the NServer licenses by executing activation shell script file with start argument:
- Note that the following script will access pserver.neurotechnology.com host using both TCP and UDP protocols on port 80. This must be possible. If needed, configure any firewall accordingly.
- Neurotec_Biometric_10_0_SDK/Bin/Linux_x86_64/Activation/run_pgd.sh start
- Upload the NServer and IrisMatcher licenses to the server, save them in known and safe path.