Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brake lights classifier #383

Open
danielv012 opened this issue Oct 27, 2023 · 2 comments
Open

Brake lights classifier #383

danielv012 opened this issue Oct 27, 2023 · 2 comments
Assignees
Labels
Feature Something new to be added

Comments

@danielv012
Copy link
Contributor

No description provided.

@danielv012 danielv012 added the Feature Something new to be added label Oct 27, 2023
@saiperam
Copy link

09/09/2024 Update:

  • Status: In Progress - So far I was able to research robust datasets online that have vehicle brake lights with annotations ON/OFF. I also was able to successfully run a script that spawns vehicles in CARLA, randomly configures vehicles to have brake lights ON/OFF and publishes their status, and capture screenshots in preparing a dataset in CARLA. I also was able to modify images with different weather conditions like sunny, and rain. I also successfully completed HSV and LAB Colorspace filtering in preparing for preprocessing datasets.
  • Next Steps: I plan on working on splitting the data with an ideal 70% train 30% test. I also plan on soon implementing an object detection model and training a random forest classifier or a region based CNN for effectively classifying brake lights ON/OFF. I also plan on applying both colorspace filtering on current real-time datasets of various real car brake lights.
  • Projected Completion: Finish dataset collection and processing by September 15.
  • Update: Successfully able to highlight the benefit of leveraging LAB Colorspace over HSV colorspace.

@saiperam
Copy link

saiperam commented Sep 17, 2024

09/16/2024 Update: Brake Light Classifier

  • Status: In Progress - I successfully developed scripts for applying LAB and HSV Colorspace Filtering on the captured dataset of images. This week, I successfully wrote scripts that automatically annotate the captured dataset of car brake lights based on the statuses reported by CARLA, and also allow me to draw bounding boxes on car brake lights across various weather conditions and statuses.
  • Next Steps: - I'm currently working on preprocessing, organizing, and cleaning up the dataset as I noticed there were some subfolders in the dataset directory that had no images possibly due to some technical error. This week, I fixed the bug in my script and images are correctly captured into the right directories. I plan on soon training an object detection model like YOLOv3 to recognize car brake lights given any image of a car rear, and to also recognize whether these lights are on or off based on their specific red LAB colorspace threshold values (the more brighter the red contrast in LAB colorspace filtered images brake lights are, the more likely it is to be on.)
  • Projected Completion: Finish organizing and cleaning up the dataset, applying bounding boxes on car brake lights, and annotations of statuses to each image by September 25.
  • Update: I'm successfully able to annotate and draw bounding boxes of brake lights of car rear image captures in CARLA. These annotations and bounding boxes are successfully stored as displayed by the images shown below.
Screenshot 2024-09-14 at 4 39 12 PM Screenshot 2024-09-12 at 3 45 14 PM Screenshot 2024-09-12 at 3 15 18 PM Screenshot 2024-09-12 at 3 45 19 PM Screenshot 2024-09-14 at 4 39 04 PM Screenshot 2024-09-14 at 4 39 08 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Something new to be added
Projects
Status: 🛠️ In-Progress
Development

No branches or pull requests

2 participants