Closed adamrubinfeld closed 3 years ago
Yes, you can pass an instance of EOCV OpenCvCamera
to dash FtcDashboard#startCameraStream()
.
Can you send me example?
Take any EOCV example and just add FtcDashboard.getInstance().startCameraStream(...);
with the appropriate arguments. For instance, take this example and add FtcDashboard.getInstance().startCameraStream(phoneCam, 0)
on line 98.
I will try tomorrow I tried that before 4 days and that does a error of network or something
I tried that before 4 days and that does a error of network or something
So..... yeah... about that.... due to an oversight on my part, the internal camera v1 implementation actually runs on the UI thread, and Android will crash your app on purpose if you do network on the UI thread. Try switching to the EOCV camera v2 implementation.
@FROGbots-4634 And if I working with webcam?
@adamrubinfeld webcams should not pose an issue.
Ok tnx I will try tomorrow and give answer of that work
Work Tank you very much guys
Hi I mentor team and contently we work on vision recognition and we need to test the pipeline and that very hard the see the camera view from robot control that any way we can send the camera view to the dashboard (we using easyOpenCV)