GoPiGo 小汽車《配備》

鑑於過去使用樹莓派 2B 跑 opencv

講到 RaspiCAM 之應用軟件程式庫,焉能不提及大名鼎鼎的

 OpenCV is released under a BSD license and hence it’s free for both academic and commercial use. It has C++, C, Python and Java interfaces and supports Windows, Linux, Mac OS, iOS and Android. OpenCV was designed for computational efficiency and with a strong focus on real-time applications. Written in optimized C/C++, the library can take advantage of multi-core processing. Enabled with OpenCL, it can take advantage of the hardware acceleration of the underlying heterogeneous compute platform. Adopted all around the world, OpenCV has more than 47 thousand people of user community and estimated number of downloads exceeding 9 million. Usage ranges from interactive art, to mines inspection, stitching maps on the web or through advanced robotics.

ABOUT

OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library. OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products. Being a BSD-licensed product, OpenCV makes it easy for businesses to utilize and modify the code.

The library has more than 2500 optimized algorithms, which includes a comprehensive set of both classic and state-of-the-art computer vision and machine learning algorithms. These algorithms can be used to detect and recognize faces, identify objects, classify human actions in videos, track camera movements, track moving objects, extract 3D models of objects, produce 3D point clouds from stereo cameras, stitch images together to produce a high resolution image of an entire scene, find similar images from an image database, remove red eyes from images taken using flash, follow eye movements, recognize scenery and establish markers to overlay it with augmented reality, etc. OpenCV has more than 47 thousand people of user community and estimated number of downloads exceeding 7 million. The library is used extensively in companies, research groups and by governmental bodies.

Along with well-established companies like Google, Yahoo, Microsoft, Intel, IBM, Sony, Honda, Toyota that employ the library, there are many startups such as Applied Minds, VideoSurf, and Zeitera, that make extensive use of OpenCV. OpenCV’s deployed uses span the range from stitching streetview images together, detecting intrusions in surveillance video in Israel, monitoring mine equipment in China, helping robots navigate and pick up objects at Willow Garage, detection of swimming pool drowning accidents in Europe, running interactive art in Spain and New York, checking runways for debris in Turkey, inspecting labels on products in factories around the world on to rapid face detection in Japan.

It has C++, C, Python, Java and MATLAB interfaces and supports Windows, Linux, Android and Mac OS. OpenCV leans mostly towards real-time vision applications and takes advantage of MMX and SSE instructions when available. A full-featured CUDA and OpenCL interfaces are being actively developed right now. There are over 500 algorithms and about 10 times as many functions that compose or support those algorithms. OpenCV is written natively in C++ and has a templated interface that works seamlessly with STL containers.

OpenCV Developers Team:

─── 摘自《樹莓派相機︰ RaspiCAM 之軟件《三》

 

有些覆載吃重,不利於『即時處理』控制事件。雖然用著 GoPiGo 1 的硬體,仍將樹莓派升級到 3B ,且驗之以︰

Browser streaming bot

This example is for streaming video and controlling the GoPiGo from a web browser

Mobile control of the GoPiGo Raspberry Pi Robot

Robot Control and streaming through the browser

Controlling the GoPiGo robot with a mobile phone

Usage:

  • Make robot_web_server.py executable
 sudo chmod +x robot_web_server.py
  • Run robot_web_server.py
 sudo ./robot_web_server.py
  • Open a web browser on any computer or mobile device and enter the following in the address bar:
 dex.local:98

The page runs on dex.local or the IP address of the Pi on port 98

  • The video stream would load up and you can use the joystick on the screen to control the GoPiGo

 GoPiGo

This repository contains source code, firmware and design materials for the GoPiGo.

 GoPiGo

 

發現除了需要先執行

‧ browser_stream_setup.sh

,以及注意網頁路徑

IOError: [Errno 2] No such file or directory: '/home/pi/Desktop/GoPiGo/Software/Python/Examples/Browser_Streaming_Robot/www/index.html'

 

外,看來一切 OK

 

。先行者或想讀讀玩玩『basic_test_all.py』乎??!!