Close
0%
0%

Image Projection & Walking People Tracking

The idea is to project a following image or a small animation at the foot of passersby.

Similar projects worth following

The idea is to project an informative following image or a small animation at the foot of passersby.

- for tracking walking people I'm using a LIDAR (scanse sweep) with a blob's centroids detection script based on the Sklearn Library 

- for moving the micro projector I'm using a drone gimbal plugged to Adafruit Pi PWM Hat

- for computing everything I'm using a raspberry Pi B+

TODO :
 ajust gimbal position to follow the centroids detected by the script
 

Microsoft Excel - 10.34 MB - 10/11/2018 at 11:35

Download

x-python-script - 4.09 kB - 10/11/2018 at 11:35

Download

x-python-script - 10.14 kB - 10/11/2018 at 11:35

Download

x-python-script - 4.28 kB - 10/11/2018 at 11:35

Download

View all 2 project logs

  • 1
    Raspberry Setup

    #---- Rasp Pi OS updates ----

    sudo apt-get dist-upgrade
    sudo apt-get update
    sudo apt-get upgrade

    #install numpy et sklearn et scipy
    sudo pip3 install numpy
    sudo pip3 install scipy 

    #matplot display graph (used for checking the blob detected)
    sudo pip uninstall python-dateutil
    sudo pip install python-dateutil==2.2
    sudo pip3 install matplotlib

    #clone the scanse sweep lib and build the sweepsdk to get the libsweep.so :
    git clone https://github.com/scanse/sweep-sdk.git
    cd sweep-sdk/libsweep/
    sudo apt-get install cmake
    mkdir -p build
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release
    cmake --build .
    sudo cmake --build . --target install
    sudo ldconfig

    #in the sweeppy rep run install.py:
    python3 setup.py install --user

    #to listen the scanse lidar output use the command  :
    python -m sweeppy /dev/ttyUSB0

    #Adafruit Servo Hat install :
    sudo pip3 install adafruit-pca9685
    sudo apt-get install python-smbus
    sudo apt-get install i2c-tools
    mkdir Adafruit-servo
    cd Adafruit-servo
    git clone -b legacy https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git
    cd Adafruit-Raspberry-Pi-Python-Code
    cd Adafruit_PWM_Servo_Driver

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates