{"id":17893978,"url":"https://github.com/grantgasser/vehicle-detection","last_synced_at":"2025-04-03T04:18:22.424Z","repository":{"id":129537773,"uuid":"318337853","full_name":"grantgasser/vehicle-detection","owner":"grantgasser","description":"Detecting and tracking vehicles with traditional computer vision techniques as well as deep learning","archived":false,"fork":false,"pushed_at":"2021-02-10T02:58:16.000Z","size":6162,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T18:14:35.237Z","etag":null,"topics":["computer-vision","feature-extraction","vehicle-detection","yolov5"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grantgasser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-03T22:35:53.000Z","updated_at":"2024-05-24T09:45:52.000Z","dependencies_parsed_at":"2023-05-06T09:33:00.350Z","dependency_job_id":null,"html_url":"https://github.com/grantgasser/vehicle-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantgasser%2Fvehicle-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantgasser%2Fvehicle-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantgasser%2Fvehicle-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantgasser%2Fvehicle-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grantgasser","download_url":"https://codeload.github.com/grantgasser/vehicle-detection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246933384,"owners_count":20857055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-vision","feature-extraction","vehicle-detection","yolov5"],"created_at":"2024-10-28T14:58:39.787Z","updated_at":"2025-04-03T04:18:22.316Z","avatar_url":"https://github.com/grantgasser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vehicle Detection and Tracking\n## Final Results via Deep Learning\nClick to play video:\n\n[![YOLOv5 Video](docs/0000000005.png)](https://youtu.be/sitoSZPr8HQ)\n\n## 1st Implementation: Manual Feature Extraction + Classifier\n1. Color Features\n    - Color Histogram\n    - Color Spaces (HSV, LUV, etc.)\n    - Spatial Binning (`cv2.resize()`)\n\n2. Gradient Features\n    - Histogram of Oriented Gradients (HOG)\n\n### Feature Extraction\n- Normalize each feature, then combine into one feature vector\n- Train-Test split\n- Could even use a decision tree for feature selection\n- Be careful of time dependencies, even w/ a random train-test split\n\n### Train Vehicle Classifier\nTrain SVM to classify Car/Not Car.\n\n### Sliding Window\nSlide a window (at different scales) over the frames and for each window, classify car/not-car.\n\n### Manual Feature Extraction Results\nClick to play video:\n\n[![Manual Feature Extraction](docs/0000000215.png)](https://youtu.be/N94dRl46f8k)\n\n## Deep Learning Implementation (YOLOv5)\nLearning the features directly. \n\nClick to play video:\n\n[![YOLOv5 Video](docs/0000000005.png)](https://youtu.be/sitoSZPr8HQ)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantgasser%2Fvehicle-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrantgasser%2Fvehicle-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantgasser%2Fvehicle-detection/lists"}