How To: Try LumiScan Cam Driver with the Test Dataset
This guide takes you through LumiScan Cam Driver with the free test dataset, image by image, and shows the result to expect at each step. You need no camera and no real parts, about 15 minutes, and a device with LumiScan Cam Driver.
Before you start
-
Download the test dataset from Downloads and set it up as described there: copy the folders, restart the applications, connect the simulated camera
simulation. -
Data Layer values are written in the Data Layer view of the ctrlX OS web interface or from your PLC; on a PC with
krxclient, the command line client of LumiScan Keryx.
Step 1: Capture 1
-
Capture
01_test_frame.png: write tohdvisionsystems/lumiscan-cam-driver/simulation/control/capture/execute. -
Check
control/status/code:0.
Expected result:
| Field | Value |
|---|---|
|
1280 |
|
960 |
Image |
|
Step 2: Capture 2
-
Capture
02_test_frame.png: write tohdvisionsystems/lumiscan-cam-driver/simulation/control/capture/execute. -
Check
control/status/code:0.
Expected result:
| Field | Value |
|---|---|
|
1280 |
|
960 |
Image |
|
Result
You have run LumiScan Cam Driver on known images and compared its results with the expected ones. Every other image of the dataset, and every value, is listed in expected-results.json and on the Downloads page.
To work with a real camera, change only the image address from the simulated camera to the real one, or give the camera simulation the serial of your camera.