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.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.

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)
...