Added Runnables for VisionProcess threads

This commit is contained in:
Banks Troutman
2019-11-15 16:01:50 -05:00
parent cd21186bf7
commit 1e613ee342
9 changed files with 108 additions and 62 deletions

View File

@@ -8,10 +8,9 @@ public interface CameraProcess {
/**
* Get the next camera frame
* @param frame the frame to copy the image into
* @return a Pair of the captured image and how long it took to grab the frame (in uS)
*/
Pair<Mat, Long> getFrame(Mat frame);
Pair<Mat, Long> getFrame();
/**
* Set the exposure of the camera