Skip to content

python opencv neural network in automatic car with websites

Notifications You must be signed in to change notification settings

nicholas0417/Machine-Learning-AutoCar

Repository files navigation

Machine-Learning-AutoCar


A. In PC (Personal Computer) Side

PC is the server which deals with the information on the image, ultrasonic measurements data by Raspberry pi and throughout using Bluetooth connectionless to control our remote control car.

B. In Rpi(Raspberry pi3) Side

On the side of Raspberry Pi we get the image data on the webcam and ultrasonic measurement data and through the socket to the PC side.

C. Remote Control(Arduino)

The remote control circuit is connected to Arduino and is controlled by Bluetooth.

D. Tools

Tools we need to prepare and used.

  1. Socket programming / multithread TCP server
  2. Pygame / Pyserial (we first use USB to control)/ Pyblue:
  3. Opencv (Correction / identification of traffic lights / identification stop flag / judgment distance )
  4. ANN (Collect training materials in to .npz files after prediction coexistence in xml format parameters)

E. How to use it

  1. in Computer side.
  • a website page which broadcasts the image while the Autocar was self-driving
  • mlp/xml : the training data we trained
  • training learning : mpl/training & mlp/predict
  • training : collect training data
  • ip search
  1. in Raspberry pi side :
  • New rpi client with flask
  1. in Arduino side :
  • Logic bluetooth for car resistor

IMAGE ALT TEXT HERE