JeVois Tutorials
1.22
JeVois Smart Embedded Machine Vision Tutorials
|
|
JeVois v1.3
Sometimes, opening a serial terminal to connect to JeVois may seem like a lot of work if one just wishes to send one simple command or a short sequence of commands to JeVois.
Instead, you can use the shortcut command jevois-cmd
(Linux only for now).
JeVois v1.3
Under Linux, the jevois package provides the command jevois-cmd
in /usr/bin of the host computer, which can be executed directly in any terminal on the host computer (as opposed to being run in the JeVois command-line interface after opening some serial terminal to it). Use it as follows:
jevois-cmd help
Connects to JeVois using the serial-over-USB port, issues the command help
to JeVois, collects an displays the results returned by JeVois.
Any valid JeVois command-line command can be sent. For example:
jevois-cmd setpar cpumax 1200
should return
OK
and a subsequent
jevois-cmd info
should show the updated CPU frequency of 1200 MHz as follows:
INFO: JeVois 1.3.0 INFO: Linux version 3.4.39 INFO: CPU: 1200MHz, 28C, load: 0.98 0.53 0.22 1/59 86 INFO: MemTotal: 238452 kB, MemFree: 170188 kB INFO: OUT: YUYV 640x300 @ 60fps CAM: YUYV 320x240 @ 60fps MOD: JeVois:DemoSaliency OK
jevois-cmd
is a simple shell script. Feel free to look at it. You may be able to create equivalents of that script for Mac and Windows. If so, please contribute them so that others can enjoy your scripts!echo info > /dev/cu.usbmodem*
and then cat /dev/cu.usbmodem*
to see the results (issue a CTRL-C once you have seen all the results you needed to see).