Real-Time Video Transmission - ADEEPT AWR Wheeled Robot Manual

4wd smart robot kit compatible with raspberry pi 4 3 model b+ b, opencv target tracking
Table of Contents

Advertisement

81
RL=robotLight.RobotLight()
RL.start()
# Start thread
'''
Start breathing light mode and stop after 15 seconds
'''
RL.breath(70,70,255)
time.sleep(15)
RL.pause()
'''
Pause for 2 seconds
'''
time.sleep(2)
'''
Start the police light mode and stop after 15 seconds
'''
RL.police()
time.sleep(15)
RL.pause()

15 Real-Time Video Transmission

● Real-time video and OpenCV function are the advantages of the Raspberry Pi robot. This chapter
introduces the method of real-time video. In fact, there are many ways to transfer the images collected by the
Raspberry Pi camera to other devices through the network The robot uses the open source project [
ask-video-streaming] from
code of the project.
●The reason for the selection is flask-video-streaming. This solution is the most convenient and the most
efficient of the many solutions we have tried. The part related to OpenCV also has a good interface to rewrite it
as multi-threaded processing.
● Since this project requires the use of Flask and related dependent libraries, our robot software
installation script contains the content of installing these dependent libraries. If your Raspberry Pi has not run
the robot software installation script, you need to use the following command to install .
sudo pip3 install flask
sudo pip3 install flask_cors
# Instantiate the object that controls the LED light
Github
the MIT open source agreement, you can click the link to view the source

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AWR Adeept Wheeled Robot and is the answer not in the manual?

This manual is also suitable for:

Picar-b

Table of Contents

Save PDF