{"id":13907834,"url":"https://github.com/datitran/object_detector_app","last_synced_at":"2025-05-16T03:04:16.553Z","repository":{"id":41322392,"uuid":"94782644","full_name":"datitran/object_detector_app","owner":"datitran","description":"Real-Time Object Recognition App with Tensorflow and OpenCV","archived":false,"fork":false,"pushed_at":"2019-03-05T06:52:31.000Z","size":28297,"stargazers_count":1296,"open_issues_count":19,"forks_count":745,"subscribers_count":93,"default_branch":"master","last_synced_at":"2024-10-30T01:36:40.295Z","etag":null,"topics":["opencv","tensorflow"],"latest_commit_sha":null,"homepage":"https://medium.com/towards-data-science/building-a-real-time-object-recognition-app-with-tensorflow-and-opencv-b7a2b4ebdc32","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/datitran.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}},"created_at":"2017-06-19T13:58:50.000Z","updated_at":"2024-10-15T12:17:50.000Z","dependencies_parsed_at":"2022-08-23T23:00:41.898Z","dependency_job_id":null,"html_url":"https://github.com/datitran/object_detector_app","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/datitran%2Fobject_detector_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datitran%2Fobject_detector_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datitran%2Fobject_detector_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datitran%2Fobject_detector_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datitran","download_url":"https://codeload.github.com/datitran/object_detector_app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254459088,"owners_count":22074605,"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":["opencv","tensorflow"],"created_at":"2024-08-06T23:02:12.331Z","updated_at":"2025-05-16T03:04:11.544Z","avatar_url":"https://github.com/datitran.png","language":"Python","readme":"# Object-Detector-App\n\nA real-time object recognition application using [Google's TensorFlow Object Detection API](https://github.com/tensorflow/models/tree/master/research/object_detection) and [OpenCV](http://opencv.org/).\n\n## Getting Started\n1. `conda env create -f environment.yml`\n2. `python object_detection_app.py` / `python object_detection_multithreading.py`\n    Optional arguments (default value):\n    * Device index of the camera `--source=0`\n    * Width of the frames in the video stream `--width=480`\n    * Height of the frames in the video stream `--height=360`\n    * Number of workers `--num-workers=2`\n    * Size of the queue `--queue-size=5`\n    * Get video from HLS stream rather than webcam '--stream-input=http://somertmpserver.com/hls/live.m3u8'\n    * Send stream to livestreaming server '--stream-output=--stream=http://somertmpserver.com/hls/live.m3u8'\n\n## Tests\n```\npytest -vs utils/\n```\n\n## Requirements\n- [Anaconda / Python 3.5](https://www.continuum.io/downloads)\n- [TensorFlow 1.2](https://www.tensorflow.org/)\n- [OpenCV 3.0](http://opencv.org/)\n\n## Notes\n- OpenCV 3.1 might crash on OSX after a while, so that's why I had to switch to version 3.0. See open issue and solution [here](https://github.com/opencv/opencv/issues/5874).\n- Moving the `.read()` part of the video stream in a multiple child processes did not work. However, it was possible to move it to a separate thread.\n\n## Copyright\n\nSee [LICENSE](LICENSE) for details.\nCopyright (c) 2017 [Dat Tran](http://www.dat-tran.com/).\n","funding_links":[],"categories":["HarmonyOS","Python"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatitran%2Fobject_detector_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatitran%2Fobject_detector_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatitran%2Fobject_detector_app/lists"}