iCAM R100 Manager SDK Manual PDF
iCAM R100 Manager SDK Manual PDF
Open()
Open()
Syntax Open(void)
Return Type long 0 for success. Please refer appendix for error code description.
Close()
Close()
Syntax Close(void)
Return Type long 0 for success. Please refer appendix for error code description.
GetSerialNumber()
GetSerialNumber ()
Syntax GetSerialNumber(pSerialNumber)
Return Type Long 0 for success. Please refer appendix for error code description.
GetVersion()
GetVersion()
- IS_DEV_VER_SDK(0)
- IS_DEV_VER_ICAMSW(1)
- IS_DEV_VER_FS(2)
- IS_DEV_VER_ICAM_CMDCENTER(3)
- IS_DEV_VER_ICAM_MANAGER(4)
- IS_DEV_VER_OS(5)
- IS_DEV_VER_LIB_CAPTURE(6)
- IS_DEV_VER_LIB_RECOG(7)
- IS_DEV_VER_LIB_EYESEEK(8)
- IS_DEV_VER_LIB_COUNTERMEASURE(9)
- IS_DEV_VER_LIB_LENS(10)
- IS_DEV_VER_LIB_TWOPI(11)
Return Type Long 0 for success. Please refer appendix for error code description.
Purpose To get the version information of various types like software, hardware etc.
SetSoundVolume()
SetVolume()
Syntax SetSoundVolume(lVolume)
Return Type long 0 for success. Please refer appendix for error code description.
Purpose To set the current sound volume setting of the iCAM R100.
GetSoundVolume()
GetVolume()
Syntax GetSoundVolume(pVolume)
Purpose To get the current sound volume setting of the iCAM R100.
iCAM R100 Manager SDK User Manual 3
SetVoiceLanguage()
SetVoiceLanguage ()
Purpose To set the current sound voice language setting of the iCAM R100.
GetVoiceLanguage()
GetVoiceLanguage ()
Purpose To get the current sound voice language setting of the iCAM R100.
iCAM R100 Manager SDK User Manual 4
ControlIndicator()
ControlIndicator()
lVoiceMessage [in] long Voice Message [0 ~ 13] (refer to “Definitions” section 3.7)
Return Type long 0 for success. Please refer appendix for error code description.
Purpose To play the voice message and to control the color indicator behind the mirror.
The indexes are predefined for iCAM R100.
SetEnrollmentQualityThreshold()
SetEnrollmentQualityThreshold()
Return Type long 0 for success. Please refer appendix for error code description.
GetEnrollmentQualityThreshold()
GetEnrollmentQualityThreshold ()
Return Type long 0 for success. Please refer appendix for error code description.
SetEnrollmentQualityType()
SetEnrollmentQualityType()
Syntax SetEnrollmentQualityType(lType)
Return Type long 0 for success. Please refer appendix for error code description.
GetEnrollmentQualityType()
GetColorEffect()
Syntax GetColorEffect(pType)
Return Type long 0 for success. Please refer appendix for error code description.
EnrollUser()
EnrollUser()
Syntax EnrollUser (bstrUserID, lEyePosition, lFEDLevel, lLensDetectLevel, lTimeOut, lIsAuditFace, lIsLive, lIsRetry, lIsVerify)
lEyePosition [in] long It decides which iris will be captured form enrollment.
- IS_EYE_RIGHT (1)
- IS_EYE_LEFT (2)
- IS_EYE_BOTH (3)
lIsRetry [in] long It sets whether the retry will be used or not.
- IS_DISABLE(0)
- IS_ENABLE(1)
Return Type long 0 for success. Please refer appendix for error code description.
Purpose Capture user iris and enroll the iris template to DB.
IdentifyUser()
IdentifyUser()
lEyePosition [in] long It decides which iris will be captured form enrollment.
- IS_EYE_RIGHT (1)
- IS_EYE_LEFT (2)
- IS_EYE_BOTH (3)
- IS_EYE_EITHER(4)
lFEDLevel [in] long It sets whether the countermeasure will be used or not.
- IS_FED_LEVEL_1(0)
- IS_FED_LEVEL_2(1)
lTimeout [in] long It tries to capture iris images until it times out. The unit is
second ( 1 ~ 20, 0 : continue )
lIsLive [in] long It sets whether the live will be transferred or not during iris capture.
- IS_DISABLE(0)
- IS_ENABLE(1)
Return Type long 0 for success. Please refer appendix for error code description.
VerifyByID()
VerifyByID()
lEyePosition [in] long It decides which iris will be captured form enrollment.
- IS_EYE_RIGHT (1)
- IS_EYE_LEFT (2)
- IS_EYE_BOTH (3)
- IS_EYE_EITHER (4)
lFEDLevel [in] long It sets whether the countermeasure will be used or not.
- IS_FED_LEVEL_1(0)
- IS_FED_LEVEL_2(1)
lTimeout [in] long It tries to capture iris images until it times out. The unit is
second ( 1 ~ 20, 0 : continue )
Return Type long 0 for success. Please refer appendix for error code description.
Purpose Capture user iris and verify it with indicated user id on DB.
VerifyByIrisTemplate()
VerifyByTemplate()
vRightIrisTemplate [in] VARIANT Iris template for verify with captured iris.
vLeftIrisTemplate [in] VARIANT Iris template for verify with captured iris.
lEyePosition [in] long It decides which iris will be captured from enrollment.
- IS_EYE_RIGHT (1)
- IS_EYE_LEFT (2)
- IS_EYE_BOTH (3)
- IS_EYE_EITHER (4)
lFEDLevel [in] long It sets whether the countermeasure will be used or not.
- IS_FED_LEVEL_1(0)
- IS_FED_LEVEL_2(1)
lTimeout [in] long It tries to capture iris images until it times out. The unit is
second ( 1 ~ 20, 0 : continue )
lIsLive [in] long It sets whether the live image will be transferred or not during iris
capture.
- IS_DISABLE(0)
- IS_ENABLE(1)
Return Type long 0 for success. Please refer appendix for error code description.
Purpose Capture user iris and verify it with input template on DB.
StartIrisCapture()
StartIrisCapture ()
lEyePosition [in] long It decides which iris will be captured from enrollment.
- IS_EYE_RIGHT (1)
- IS_EYE_LEFT (2)
- IS_EYE_BOTH (3)
- IS_EYE_EITHER (4)
-
lFEDLevel [in] long It sets whether the countermeasure will be used or not.
- IS_FED_LEVEL_1(0)
- IS_FED_LEVEL_2(1)
lTimeout [in] long It tries to capture iris images until it times out. The unit is
second ( 1 ~ 20, 0: continue )
lIsLiveImage [in] long It sets whether the live image will be transferred or not during iris
capture.
- IS_DISABLE(0)
- IS_ENABLE(1)
Return Type long 0 for success. Please refer appendix for error code description.
Purpose To get iris images or template from iCAM for enrollment and recognition.
Note If lIrisType is IS_IRIS_IMAGE, the captured iris images are received through OnGetIrisImage() event function.
If lIrisType is IS_IRIS_TEMPLATE, The captured iris template is received through OnGetIrisTemplate() event
function.
The result received through OnCaptureReport().
Audit Face Image: It's not for facial recognition; it's just for visual inspection.
IS_IRIS_EITHER is valid option only in recognition mode.
iCAM R100 Manager SDK User Manual 11
AbortCapture()
AbortCapture()
Return Type long 0 for success. Please refer appendix for error code description.
AddUserIrisTemplate()
AddUserIrisTemplate()
Return Type long 0 for success. Please refer appendix for error code description.
AddUserIrisImage()
AddUserIrisTemplate()
Return Type long 0 for success. Please refer appendix for error code description.
GetNumberOfUserDB ()
GetNumberOfUserDB ()
GetUserInfo ()
GetUserInfo ()
Return Type long 0 for success. Please refer appendix for error code description.
DeleteUserInfo ()
DeleteUserInfo ()
Return Type long 0 for success. Please refer appendix for error code description.
ClearUserDB ()
ClearUserDB ()
Return Type long 0 for success. Please refer appendix for error code description.
DownloadUserDB ()
DeleteUserInfo ()
Return Type long 0 for success. Please refer appendix for error code description.
Purpose It gets the number of user record in database of r100 and generates an event for OnUserDB()
UploadUserDB ()
UploadUserDB ()
Return Type long 0 for success. Please refer appendix for error code description.
Upgrade()
Upgrade()
Syntax Upgrade(bstrFileName)
Return Type long 0 for success. Please refer appendix for error code description.
Purpose To upgrade the current iCAM R100 software to the newer version.
StartFaceCapture()
StartFaceCapture()
Syntax StopIrisCapture(void)
Return Type long 0 for success. Please refer appendix for error code description.
Note The live face images are received through OnGetLiveImage() event function. StopFaceCapture() function should
follow.
StopFaceCapture()
StopFaceCapture()
Return Type long 0 for success. Please refer appendix for error code description.
SetAutoFocus()
Upgrade()
Syntax SetAutoFocus(void)
Return Type long 0 for success. Please refer appendix for error code description.
SetColorEffect()
SetColorEffect()
Return Type long 0 for success. Please refer appendix for error code description.
Purpose To set the current color effect setting of the iCAM R100.
GetColorEffect()
GetColorEffect()
Return Type long 0 for success. Please refer appendix for error code description.
Purpose To get the current color effect setting of the iCAM R100.
UpdateVoiceMessage()
UpdateVoiceMessage()
bstrFileName [in] BSTR The Full file name of the voice message file to be uploaded.
Return Type long 0 for success. Please refer appendix for error code description.
GetColorOffset()
GetColorOffset()
Return Type long 0 for success. Please refer appendix for error code description.
2 Event
OnGetLiveImage ()
OnGetLiveImage ()
Syntax OnGetLiveImage (lImageSize, vLiveImage)
Argument Type Description
lImageSize [in] long The size for this JPEG image.
vLiveImage [in] VARIANT The byte array for live image.
Purpose To get the live image when a API command asked the live image.
The image resolution is 480X640 and image format is JPEG.
OnGetFaceImage()
OnGetFaceImage()
Syntax OnGetFaceImage( lImageType, lImageResolution, lImageSize, vFaceImage)
Argument Type Description
lImageType [in] long It indicates the captured face image type.
- IS_FI_CAPTURED_JPEG_480X640(1)
- IS_FI_CAPTURED_JPEG_1200X1600(2)
- IS_FI_CAPTURED_JPEG_1920X2560(3)
lType [in] long It indicates a type of the face image.
- IS_FACE_AUDIT (1)
- IS_FACE_CAPTURE (2)
lSize [in] long Size of image byte array.
vFaceImage [in] VARIANT The byte array containing the actual face image data.
Purpose To get the face image.
OnGetIrisImage ()
OnGetIrisImage()
Syntax OnGetIrisImage (lRightIrisFEDStatus, lRightIrisLensStatus,lRightIrisImageSize, vRightIrisImage,
lLeftIrisFEDStatus, lLeftIrisLensStatus, lLeftIrisImageSize, vLeftIrisImage);
OnGetIrisTemplate ()
OnGetIrisTemplate ()
Syntax OnGetIrisTemplate (lRightIrisFEDStatus, lRightIrisLensStatus, lRightIrisTemplateSize, vRightIrisTemplate,
lLeftIrisFEDStatus, lLeftIrisLensStatus, lLeftIrisTemplateSize, vLeftIrisTemplate);
OnEnrollReport ()
OnEnrollReport ()
Syntax OnEnrollReport(lReportResult, lFailureCode, lRightIrisQualityValue, lLeftIrisQualityValue,
bstrMatchedUserID)
OnMatchReport ()
OnMatchReport ()
Syntax OnMatchReport (lMatchType, lReportResult, lFailureCode, bstrMatchedUserID)
Argument Type Description
lMatchType [in] long The match type.
- IS_REP_IDENTIFY(1)
- IS_REP_VERIFY_ID(2)
- IS_REP_VERIFY_TEMPLATE(3)
lReportResult [in] long The result of report.
- IS_RST_SUCCESS(0)
- IS_RST_FAILURE(-1)
lFailureCode [in] long
- IS_FAIL_TIMEOUT(-1003)
- IS_FAIL_ABORT(-1004)
- IS_FAIL_MATCH(-1005)
- IS_FAIL_LOW_QUALITY(-1006)
- IS_FAIL_CREATE_TEMPLATE(-1007)
bstrMatchedUserID [in] BSTR If the iris was matched, it indicated the matched UserID.
Purpose It indicates the completion and result of the match status.
OnCaptureReport ()
OnCaptureReport ()
Syntax OnCaptureReport (lReportResult, lFailureCode)
Argument Type Description
lReportResult [in] long The result of report.
- IS_RST_SUCCESS(0)
- IS_RST_FAILURE(-1)
lFailureCode [in] long
- IS_FAIL_TIMEOUT(-1003)
- IS_FAIL_ABORT(-1004)
- IS_FAIL_CREATE_TEMPLATE(-1007)
OnUserDB ()
OnUserDB ()
Syntax OnUserDB (lNumOfUser, lSizeOfUserDB, vUserDB)
Argument Type Description
lNumOfUser [in] long The number of user records. (Available Range : 0~10000)
OnGetStatus ()
OnGetStatus()
Syntax OnGetStatus(lStatusType, lStatusValue)
Argument Type Description
lStatusType [in] long The type of device status
- IS_STAT_DISCONNECT(1)
- IS_STAT_UPGRADE_STATUS(6)
- IS_STAT_UPSIDEDOWN(7)
3 Definitions
IS_ERROR_NONE 0
IS_ERROR_UNOPEN -1000000
IS_ERROR_ALREADY_OPEN -1000001
IS_ERROR_CLOSE -1000002
IS_ERROR_COMMUNICATION -1000003
IS_ERROR_AUTHENTICATION -1000004
IS_ERROR_ICAM_FAILURE -1000005
IS_ERROR_PARAMETER -1000006
IS_ERROR_ICAM_RETURN -1000007
IS_ERROR_FEATURE_NOT_SUPPORT -1000013
IS_ERROR_NO_UPDATE_FILE -1000014
IS_ERROR_WRONG_SIZE_UPDATE_FILE -1000015
IS_ERROR_VOICE_FILES_NOT_FOUND -1000021
IS_ERROR_VOICE_FILES_DIR_EMPTY -1000022
IS_ERROR_UPDATE_PACKAGE -1000023
IS_ERROR_ICAM -1000024
IS_ERROR_TIMEOUT -1000025
IS_ERROR_FAIL_TO_OPEN_CONFIG -1000026
IS_ERROR_INVALID_ORDER -1000027
IS_ERROR_SYSTEM_BUSY -1000030
IS_ERROR_UNKNOWN -1000033
IS_ERRPR_FAIL_OPEN_DB -1100000
IS_ERROR_ALREADY_EXIST_USER_ID -1100001
IS_ERROR_NOT_EXIST_USER_ID -1100002
IS_ERROR_NOT_EMPTY_DB -1100003
IS_ERROR_EXCEED_DB -1100004
IS_ERROR_ALREADY_EXIST -1100005
IS_ERROR_LOW_QUALITY -1100006
IS_ERROR_CREATE_TEMPLATE -1100007
iCAM R100 Manager SDK User Manual 22
IS_FAIL_ALREADY_EXIST -1001
IS_FAIL_CAPTURE -1002
IS_FAIL_TIMEOUT -1003
IS_FAIL_ABORT -1004
IS_FAIL_MATCH -1005
IS_FAIL_LOW_QULITY -1006
IS_FAIL_CREATE_TEMPLATE -1007
IS_FAIL_IGNORE -1008
IS_FAIL_FAKE -1009
IS_STAT_DISCONNECT 1
IS_STAT_UPGRADE_STATUS 6
IS_STAT_UPSIDEDOWN 7
IS_UPSIDEDOWN 0
IS_NORMAL 1
IS_FI_CAPTURED_JPEG_480X640 1
IS_FI_ CAPTURED_JPEG_1200X1600 2
IS_FI_ CAPTURED_JPEG_1920X2560 3
IS_IRIS_STAT_NONE 0
IS_IRIS_STAT_LIVE 1
IS_IRIS_STAT_FAKE 2
IS_IRIS_STAT_FAIL 3
IS_LENS_STAT_NONE 0
IS_LENS_STAT_HARD 1
IS_LENS_STAT_PATTERN 2
iCAM R100 Manager SDK User Manual 23
IS_DEV_VER_SDK 0
IS_DEV_VER_ICAMSW 1
IS_DEV_VER_FS 2
IS_DEV_VER_ICAM_CMDCENTER 3
IS_DEV_VER_ICAM_MANAGER 4
IS_DEV_VER_OS 5
IS_DEV_VER_LIB_CAPTURE 6
IS_DEV_VER_LIB_RECOG 7
IS_DEV_VER_LIB_EYESEEK 8
IS_DEV_VER_LIB_COUNTERMEASURE 9
IS_DEV_VER_LIB_LENS 10
IS_DEV_VER_LIB_TWOPI 11
IS_SND_NONE 0
IS_SND_CAMERA_SHUTTER 1
IS_SND_MOVE_FORWARD 2
IS_SND_MOVE_BACKWARD 3
IS_SND_CENTER_EYES_IN_MIRROR 4
IS_SND_IDENTIFIED 5
IS_SND_NOT_IDENTIFY 6
IS_SND_VERIFIED 7
IS_SND_NOT_VERIFY 8
IS_SND_PRESENT_CARD 9
IS_SND_FINISH_IRIS_CAPTURE 10
IS_SND_OPERATION_BEEP 11
IS_SND_SMARTCARD_READ_SUCCESS 12
IS_SND_TRY_AGAIN 13
IS_IND_NONE 0
IS_IND_SUCCESS (Green) 1
IS_IND_FAILURE (Red) 2
IS_IND_ERROR 4
IS_IND_TURN_ON (Blue) 5
iCAM R100 Manager SDK User Manual 24
IS_IND_TURN_OFF 6
IS_EYE_RIGHT 1
IS_EYE_LEFT 2
IS_EYE_BOTH 3
IS_EYE_EITHER 4
IS_VOICE_LANGUAGE_OTHER 0
IS_VOICE_LANGUAGE_ENGLISH 1
IS_VOICE_LANGUAGE_KOREAN 2
IS_VOICE_LANGUAGE_CHINESE 3
IS_VOICE_LANGUAGE_SPANISH 4
IS_VOICE_LANGUAGE_ARABIC 5
IS_VOICE_LANGUAGE_PORTUGUESE 6
IS_VOICE_LANGUAGE_RUSSIAN 7
IS_VOICE_LANGUAGE_GERMAN 8
IS_VOICE_LANGUAGE_FRENCH 9
IS_VOICE_LANGUAGE_TURKISH 10
IS_VOICE_LANGUAGE_JAPANESE 11
IS_VOICE_LANGUAGE_HINDI 12
3.12 Misc
IS_MIN_VOLUME 0
IS_MAX_VOLUME 9
IS_ DISABLE 0
IS_ ENABLE 1
IS_COLOR_STROBE_OFF 0
IS_COLOR_STROBE_ON_LOW 1
IS_COLOR_STROBE_ON_MIDDLE 2
IS_COLOR_STROBE_ON_HIGH 3
IS_FACE_AUDIT_OFF 0
IS_FACE_AUDIT_ON 1
IS_FED_LEVEL_1 0
IS_FED_LEVEL_2 1
IS_LENS_CHECK_NONE 0
iCAM R100 Manager SDK User Manual 25
IS_LENS_CHECK_HARD 1
IS_LENS_CHECK_PATTERN 2
COLOR_EFFECT_WHITE_BALANCE 1
WHITE_BALANCE_AUTO 0
WHITE_BALANCE_DAYLIGHT 1
WHITE_BALANCE_CLOUDY 2
WHITE_BALANCE_INCANDESCENT 3
WHITE_BALANCE_FLUORESCENT 4
COLOR_EFFECT_BRIGHTNESS 2
BRIGHTNESS_MINUS_5 0
BRIGHTNESS_MINUS_4 1
BRIGHTNESS_MINUS_3 2
BRIGHTNESS_MINUS_2 3
BRIGHTNESS_MINUS_1 4
BRIGHTNESS_DEFAULT 5
BRIGHTNESS_PLUS_1 6
BRIGHTNESS_PLUS_2 7
BRIGHTNESS_PLUS_3 8
BRIGHTNESS_PLUS_4 9
BRIGHTNESS_PLUS_5 10
COLOR_EFFECT_SHARPNESS 3
SHARPNESS_MINUS_5 0
SHARPNESS_MINUS_4 1
SHARPNESS_MINUS_3 2
SHARPNESS_MINUS_2 3
SHARPNESS_MINUS_1 4
SHARPNESS_DEFAULT 5
SHARPNESS_PLUS_1 6
SHARPNESS_PLUS_2 7
SHARPNESS_PLUS_3 8
SHARPNESS_PLUS_4 9
SHARPNESS_PLUS_5 10
COLOR_EFFECT_SATURATION 4
SATURATION_MINUS_5 0
SATURATION_MINUS_4 1
iCAM R100 Manager SDK User Manual 26
SATURATION_MINUS_3 2
SATURATION_MINUS_2 3
SATURATION_MINUS_1 4
SATURATION_DEFAULT 5
SATURATION_PLUS_1 6
SATURATION_PLUS_2 7
SATURATION_PLUS_3 8
SATURATION_PLUS_4 9
SATURATION_PLUS_5 10
COLOR_EFFECT_ISO 5
ISO_AUTO 0
ISO_100 1
ISO_200 2
ISO_400 3
iCAM R100 Manager SDK User Manual 27
4 C# Sample S/W
3. Enrollment
- Select the setting value. (Which Eye, Countermeasure, Lens Detection, Audit face, Live Image,
Retry, Verify and Time out)
- When succeed in iris enrollment, iris images are displayed with the sound
- In Enrollment Quality Settings, enabled “Retry” menu will let users try maximum three times for
getting acceptable iris image. When it’s deactivated, Threshold (Single) will affect value
iCAM R100 Manager SDK User Manual 29
- To change user’s face image, use the “Face Camera” menu on upper right corner
iCAM R100 Manager SDK User Manual 30
5. Identification
- Select the setting value. (Which Eye, Countermeasure, Lens Detection, Audit face, Live Image
and Time out)
- When succeed in iris identification, user information of host database are displayed
iCAM R100 Manager SDK User Manual 31
6. Verification
- Select the setting value. ( Which Eye, Countermeasure, Lens Detection, Audit face, Live Image
and Time out)
- When succeed in iris verification, user information of host database are displayed
iCAM R100 Manager SDK User Manual 32
7. Iris Capture
- Select the setting value. ( Purpose, Iris Type, Which Eye, Countermeasure, Lens Detection, Audit
face, Live Image and Time out)
- When iris type is template, “Add User Iris Template” or “Verify by Template” is available.
- “Add User Iris Image” and “Add User Iris Template” are feature for adding user into the DB of
device.
8. Database control
- Download: Get the number of user record from the database of device
9. Etc.
- User Interface: “Play” button will test each Voice and LED
5 Revision History
Installer Changes
version
V2.02.01 1. New feature
a. GetColorOffset
2. New feature
a. AddUserIrisImage
b. AddUserIrisTemplate
c. VerifyByTemplate
3. Implement the Iris Capture mode. Image or Template transferring by user selection.
6 System Information
Version information is below when upgrading with UpdatePacakge.dat included in the installer v2.01.02.
SDK V2.02.01
iCAM SW 4.02.02
File System 0.9.4
CMDCenter 1.4.0
Device Manager 1.0.8
OS 0.9.4
Capture library 02.00.03
Recog library 01.01.01
Eyeseek 5.08
Countermeasure 1.40
Lens Detection 2.03
TwoPi 1.5.5