GamesLeaderboardDownloadNewsAbout

Secugen Device Registration Online

// Get device count int devCount; ret = SGGetDeviceCount(&devCount); if (devCount == 0) return -2;

// Open first device ret = SGOpenDevice(0, &hDevice); if (ret != SG_SUCCESS) return -3; secugen device registration

// Capture test image unsigned char* imgBuf = new unsigned char[400*400]; ret = SGGetImage(hDevice, imgBuf); if (ret == SG_SUCCESS) printf("Device registered and ready\n"); // Get device count int devCount; ret =

// Initialize library ret = SGInitLib(0, 0); if (ret != SG_SUCCESS) return -1; // Get device count int devCount

// Set LED and capture parameters ret = SGSetLED(hDevice, 1); // turn on LED ret = SGSetCaptureParam(hDevice, CAPTURE_TIMEOUT, 3); // 3 seconds timeout

We use cookies to ensure you get the best experience on our website. By continuing to use our site, you agree to our use of cookies as outlined in our Privacy Policy.