Skip to content

How to View Data

Claude Pageau edited this page Feb 6, 2017 · 21 revisions

###View console verbose logging

Edit/Review config.py using nano or menubox.sh to verify the following variable settings (defaults)

vervose = True
gui_window_on = False

then start speed-cam.py

cd ~/rpi-speed-camera
./speed-cam.py

When motion is being tracked the detailed logging information will be displayed.

View OpenCV Video Window

The opencv video window needs to run from the Raspberry Pi GUI Desktop. This can be done from an attached monitor or using a remote VNC session from another computer on the network.

Edit/Review config.py using nano or menubox.sh to verify the following variable settings (defaults)

gui_window_on = True
show_thresh_on = True 
show_crop_on = False    (This is a color motion crop area and is optional)

From the Raspberry Pi desktop open a terminal session. In the terminal session run speed-cam.py per the following

cd ~/rpi-speed-camera
./speed-cam.py

The opencv video windows should open and display the camera view with the motion area displayed in a stationary line box. When motion is being tracked it will be highlighted with a moving box (default) or center circle. See config.py motion settings for other variables to control text size etc.

When done reviewing camera video highlight the main video window and press q or press ctrl-c in the terminal window

It is recommended this be used for trouble shooting only since it will slow performance.

###View using Web Browser