Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.

Use ObjectDetect without playback on host

0 votes

I am trying to use ObjectDetect module for a safety application. I need the Jevois camera to notify my arduino when it detects certain objects. But I could see that this is working only when I am playing the stream in my laptop. ie the camera stops detecting the objects and therefore stops sending serial notification messages when I am no longer playing the stream. This is giving me problems as I cant keep a host computer connected to  my system always. Is there any way I can detect objects without the camera feed being accessed in a host computer? If my problem can be solved by another module or if there is any other better solution for me kindly let me know.

asked Feb 25, 2018 in User questions by kiran (120 points)

2 Answers

0 votes
Hi,

Basically, you need to change initscript to start in none video mode.

Not all modules can do that but object detection is possible.

I just had a similar investigation and i believe you may find hints within what i just wrote

https://busy.org/@dbddv01/jevois-smart-camera-a-beginner-experiment

Kr
answered Feb 27, 2018 by dbddv01 (140 points)
0 votes

Oh, ObjectDetect currently only supports modes with video output. But check out the tutorial by dbddv01 nevertheless, it is great!

To allow ObjectDetect to run without USB video output, we need to create an additional process(inframe) function in the module, which only takes an input frame in and sends no output frame. The code will be very similar to the one in the existing process(inframe, outframe) function, just strip out anything related to creating the output image.

If you are not familiar with C++, we can add this as part of a future release or tutorial.

answered Feb 27, 2018 by JeVois (46,580 points)
...