Autonomobile / AutoPylot

A project to race 1:10 RC cars autonomously around a track while going as fast as possible
MIT License
10 stars 0 forks source link

created a webcam class and dummy class #6

Closed Maximellerbach closed 2 years ago

Maximellerbach commented 2 years ago

[draft] About #4

This PR will add cameras (webcam and dummy) to the project. Having a normalized way to fetch images (including resizing etc) will be useful.

The normal camera uses opencv to fetch images from a usb camera. The dummy one creates a new black image (for testing purpose for example)

I will implement a wrapper for those kind of cameras so that we will only need to select "Webcam" or "Dummy" later.

note : I won't make the "dataset" camera for the moment as this part isn't ready yet, so we will stick with the normal and dummy camera.