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.

stop a module without starting another one

0 votes

Hi,

I am building a battery powered system with JeVois. The idea is to start two different scripts via the UART connection. One for starting TensorFlow, setting the CPU rate and categorize the detected object and another one to stop TensorFlow and reduce the CPU clock rate to 120 MHz to safe energy.

CameraOn.cfg
cpumax 1344                                            #set CPU maximum frequency
setmapping2 YUYV 1280 1024 7.0 JeVois TensorFlowEasy   #start TensorFlowEasy
setpar serout USB
#setpar serlog USB                                     #debug output
setpar serstyle Normal                                 #Normal: topcateg:topscore
streamon

CameraOn works pretty well. I got a problem with CameraOff.cfg.

streamoff
setmapping 0                    #no videostreaming over USB
setpar cpumax 120               #set CPU maximum frequency (default setting 1344)

setmapping 0 starts an module. Is there any way to stop TensorFlow without starting another module or an "low-power-consumption" module?

Thanks!

asked Jan 21, 2019 in User questions by dag (150 points)

1 Answer

0 votes
how about just streamoff and no further set mapping? Please also see

http://jevois.org/qa/index.php?qa=2556&qa_1=is-there-an-existing-module-for-low-power-consumption
answered Jan 23, 2019 by JeVois (46,580 points)
...