/self-driving-car

Primary LanguagePythonMIT LicenseMIT

Self-driving-car(Fayoum University)

An autonomous car that can guide itself inside a lane, by processing the input image, detect the lane borders and take the decision.

Car components

  • Raspberry pi.
  • Camera module.
  • Ultrasonic sensor
  • Batteries for mottors.
  • Powerpank for raspberry.
  • L298 dual motor driver.

Installed on raspberry

We uses a number of libraries to work properly:

  • OpenCv
  • Python 3
  • numpy

Test instructions

Run main.py to run the lane detection code and make the car drive inside the lanes. Run cameraStream.py if you want to watch live stream from the camera while car is driving inside lanes you can see the stream at http://<Your_Pi_IP_Address>:8000.

Test & presentation links

https://www.youtube.com/watch?v=753BEYi6eoo&t

https://www.youtube.com/watch?v=753BEYi6eoo&t

License

MIT

Copyright (c) 2019 Abdelrahman Tareq