{"id":14972772,"url":"https://github.com/rampal-punia/django-object-detection","last_synced_at":"2025-07-25T23:04:24.526Z","repository":{"id":53861816,"uuid":"521264590","full_name":"rampal-punia/django-object-detection","owner":"rampal-punia","description":"Django object detection app using yolov5. Upload new custom model or use any of the yolov5 pre-trained model.","archived":false,"fork":false,"pushed_at":"2023-12-07T19:23:23.000Z","size":6841,"stargazers_count":55,"open_issues_count":1,"forks_count":23,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T02:38:12.739Z","etag":null,"topics":["django","django-application","dropzonejs","machine-learning","machine-learning-library","object","object-detection","object-detector","python","yolov5","yolov5-django"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rampal-punia.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}},"created_at":"2022-08-04T12:49:46.000Z","updated_at":"2025-04-01T11:17:22.000Z","dependencies_parsed_at":"2023-02-18T16:31:03.946Z","dependency_job_id":null,"html_url":"https://github.com/rampal-punia/django-object-detection","commit_stats":null,"previous_names":["rampal-punia/django-object-detection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rampal-punia/django-object-detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rampal-punia%2Fdjango-object-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rampal-punia%2Fdjango-object-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rampal-punia%2Fdjango-object-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rampal-punia%2Fdjango-object-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rampal-punia","download_url":"https://codeload.github.com/rampal-punia/django-object-detection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rampal-punia%2Fdjango-object-detection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267078867,"owners_count":24032317,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["django","django-application","dropzonejs","machine-learning","machine-learning-library","object","object-detection","object-detector","python","yolov5","yolov5-django"],"created_at":"2024-09-24T13:47:30.379Z","updated_at":"2025-07-25T23:04:24.476Z","avatar_url":"https://github.com/rampal-punia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Object Detection With YoloV5\n\n## Demo of the WebApp\n\n\u003chttps://user-images.githubusercontent.com/104087274/183131139-6a2c9b6d-2f0e-4f25-83b3-df2281eeb489.mov\u003e\n\n### A project to demonstrate easy integration of YoloV5 in Django WebApp\n\nNote: This is not a full-fledged production ready app though can be scaled to work as one.\n\n## Features of the WebApp\n\n- Create/Edit ImageSets.\n- Upload multiple images with dropzonejs to the selected ImageSet.\n- Convert uploaded image size to 640 x 640. (For faster detection)\n- Upload/update a custom pre-trained model.(If you have offline files of a model)\n- YoloV5 models will download upon selection. (Active internet connection required for this step.)\n- Detect object on an image with YoloV5/custom pre-trained model.\n\n### Note\n\nAn image with the name **default.png** in media folder is required for user-profile. Create media folder and add any image file with this name 'default.png'.\n\n## Steps to use locally\n\n```bash\nclone the repo locally\n\ncreate virtual environment\n\n# install dependencies\npip install django\npip install django-crispy-forms\npip install crispy-bootstrap4\npip install django-cleanup\npip install django-debug-toolbar\npip install celery\npip install yolov5\n\n# migrate\npython manage.py migrate\n\n# create super user\npython manage.py createsuperuser # (it may show an error page if no 'default.png' in media folder. See note above.)\n\n# run\npython manage.py runserver\n\nlogin\n# Login at the web address 127.0.0.1:8000 using the superuser credentials.\n\nCreate ImageSet\n# create an ImageSet first and then upload images into the ImageSet from ImageSet detail page.\n\n# On images list page click on detect object.\n\n# select a YoloV5 model\n# the YoloV5 dependencies and pre-trained model will start downloading.\n```\n\n## Apps\n\n- Detectobj\n- images\n- modelmanager\n- users\n\n## Javascript library\n\n- dropzonejs\n- ekko-lightbox\n\n## Django starter template used\n\n[DjangoAdvancedBoilerplate](https://github.com/CodingMantras/DjangoAdvancedBoilerplate)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frampal-punia%2Fdjango-object-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frampal-punia%2Fdjango-object-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frampal-punia%2Fdjango-object-detection/lists"}