The full name of this project is called Real-time reconstruction and simulation of Police dog pose based on multi-sensor data vest. It has the characteristics of comfortable to wear, excellent real-time, high reliability, high precision,and supporting 4G network. When the 4G network environment is stable, the delay of the system is less than 1s. The system is based on the multi-sensor network to detect and reconstruct the dog's pose, which can reflect the dog's current pose information in the real-time and high precision. For the anti-terrorism investigation and explosion, it can further reduce the risks of tasks by using the dog's mobility.
Hardware: a raspberry pi 3B +, two IMU sensors, a mobile power, a police dog vest
Software: Ubuntu system, Nginx server, lighttpd server, python3
There are camera and IMU sensors in the data vest which can conveniently collect video from the fpv (first person vision) and acceleration, angular velocity of the dog body. Raspberry(client) then as a middleware sends the collected dog's data of pose and video to the remote server (specifically, our domain:server.blackant.org). Nginx server is used for playing RTMP video stream, and lighttpd server simultaneously analyses the trust pose based on the trained knowledges and displays the dog's pose and data on popular browser (Firefox,Safari and etc.).
git clone https://github.com/ZhuChaozheng/dog_project.git
(1) get into folder and move back end and web services to /var/www/html
cd dog_project && mv /html/ /var/www/html
(2) build nginx server and lighttpd server, provide video and web services respectively
download nginx
sudo apt-get install nginx
get into project folder,mv nginx.confto /etc/nginx/
mv ./nginx.conf /etc/nginx
run nginx server
sudo /etc/init.d/nginx start
download lighttpd
apt-get install lighttpd
run lighttpd
./lighttpd -f ../config/lighttpd.conf
run client file
python3 dogs_client_raspberry.py
run run_video.sh, streaming video
./ run_video.sh
Waiting…
-
The browser should turn on the flash plug-in to see the video stream
-
The ID and password of the data gateway we used are as follows:
ssid=HUAWEI-5F42
psk=34127615
Of course, you can also modify the configuration of network if you are familiar with the command of Linux:
sudo vi /etc/wpa_supplicant/wpa_supplicant.conf
Our system image of Raspberry is in the care of BaiduNetdisk.
Extraction code: rrdn