Main library header.
More...
Go to the source code of this file.
Main library header.
- Note
- More exports are found in TargetDetector.
Close/release the camera and deallocate all used memory.
- Parameters
-
Starts the vision system with a USB camera.
- Parameters
-
camIndex | Index of the camera to use. |
- Returns
- InstanceStore for current vision system instance.
- Note
- See CamFeed::CamFeed(int camIndex) for details on camera indexes.
Process a new frame for vision.
- Parameters
-
- Returns
- LineResult Output of vision system.
Sets the thresholding cuttoff value.
If not run, the value will default to 234.
- Parameters
-
store | Pointer to the store returned by initFeed() or initCamera(). |
newThreshold | The new threshold value - takes values 0-255 (inclusive). |
- Returns
- true if operation was successful, false if newThreshold was invalid or if store is null.
- Note
- Try to have this as close to 255 as possible while still being able to detect the target reliably.
-
Can be changed multiple times.