Autonomous Remote Controlled (toy) car using deep learning. Raspberry Pi, PiCar, Python
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
autorc transform jpeg to imgarr Aug 17, 2018
docs mobilenet still slow, must find another way Aug 17, 2018
.gitignore Add engine node Jul 27, 2018
LICENSE Create LICENSE Aug 1, 2018 Add prfile option Aug 16, 2018 Show profile info before start Aug 7, 2018
requirements.txt Better implement of pygame cam Aug 4, 2018


Street is danger, why not making autonomous toy?

Autonomous Remote Controlled (toy) car using deep learning. Raspberry Pi, PiCar, Python

You can find hardware on here, I'm too lazy to build from scratch.



Inspired by Robot Operating System (ROS) each components is a Node and run in it own process. A Node can be sensors, controller, motion planner, camera, Deep Learning pilot... which talk to each other via pub/sub like system.


Current implementation using Python's built in multiprocessing manager that allow sharing objects, data between Processes. Pros: Utilize CPU cores, avoid PIL, run nodes over network from different machine. Cons: Data are being pickle/unpickle multiple time and send over network which is slower than thread. May consider using more decend message queue like Redis.


First attempt Second attempt
Paper road Duct tape border

Control UI


  • Raspberry Model 2/3 or greater
  • Python 3.5
  • OpenCV (optional) or PyGame camera (just for capture video)
  • SD card 8gb or more
  • Car kit (robot HAT, mortor controller... mine just use picar)
  • Webcam or Picamera


  1. Setup Hardware
  1. Setup software
  2. Run, record
  3. Training
  1. Autopilot


cd noahcar
. env/bin/activate
python start
# Or
./ -p <profile_name> start