README.md 541 Bytes
Newer Older
Arnaud Blanchard's avatar
Arnaud Blanchard committed
1
2
Video tracking
==============
Arnaud Blanchard's avatar
Arnaud Blanchard committed
3

Arnaud Blanchard's avatar
Arnaud Blanchard committed
4
5
Activating video
----------------
Arnaud Blanchard's avatar
Arnaud Blanchard committed
6
7
8
9

    sudo modprobe bcm2835-V4l2 
    v4l2-ctl --set-fmt-video=pixelformat=UYVY,width=64,height=64

Arnaud Blanchard's avatar
Arnaud Blanchard committed
10
Sometime it needs reboot
Arnaud Blanchard's avatar
Arnaud Blanchard committed
11
12
13
14
15
16

    i_v4l2_camera -o/img | f_raspinobo_object -o/object -u0 -U70 -v110 -V160 
    
Activate the head (the target /pinobo.coord is updated by f_raspinobo_object )
    ./run.sh raspinobo/ -T/pinobo.coord
    
Arnaud Blanchard's avatar
Arnaud Blanchard committed
17
18
Display the image
-----------------
Arnaud Blanchard's avatar
Arnaud Blanchard committed
19
20
21
22
23
24
25

    o_gtk_image /img
    
Display the detected object
---------------------------

    o_gtk_image /object