{"id":19233811,"url":"https://github.com/onnesok/machine-vision","last_synced_at":"2026-05-08T02:10:16.982Z","repository":{"id":242077036,"uuid":"806503377","full_name":"Onnesok/machine-vision","owner":"Onnesok","description":"tensorflow object detection codes. This project can be implemented in many automation and robotics projects.","archived":false,"fork":false,"pushed_at":"2024-06-16T07:22:37.000Z","size":1127,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-05T00:44:44.208Z","etag":null,"topics":["machine-vision","opencv","tensorflow","tensorflow2"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Onnesok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-27T10:19:49.000Z","updated_at":"2024-09-25T06:40:54.000Z","dependencies_parsed_at":"2024-05-31T14:41:27.045Z","dependency_job_id":"276b0ba7-6205-4cc8-9626-a17fa03526de","html_url":"https://github.com/Onnesok/machine-vision","commit_stats":null,"previous_names":["onnesok/machine-vision"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Onnesok%2Fmachine-vision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Onnesok%2Fmachine-vision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Onnesok%2Fmachine-vision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Onnesok%2Fmachine-vision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Onnesok","download_url":"https://codeload.github.com/Onnesok/machine-vision/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240310873,"owners_count":19781341,"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":["machine-vision","opencv","tensorflow","tensorflow2"],"created_at":"2024-11-09T16:11:58.766Z","updated_at":"2026-05-08T02:10:11.917Z","avatar_url":"https://github.com/Onnesok.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"##  Tensorflow\n![copy](https://www.tensorflow.org/images/tf_logo_horizontal.png)\n \n This repository contains basic codes of tensorflow object detection. It's maintained for a baseline code start.\n\n[![Compatibility](https://img.shields.io/badge/python-3.12-brightgreen.svg)](https://www.python.org/)\n[![Modified](https://img.shields.io/badge/Coverage-working-red)](machine-vision)\n[![Hits](https://hits.sh/github.com/Onnesok/machine-vision.svg)](https://hits.sh/github.com/Onnesok/machine-vision/)\n## Installation\n\nFirst create a virtual environment named tf_vision to avoid package conflicts. use ``cmd or bash`` to do it.\n\n```bash\npython3 -m venv tf_vision\n```\nNow source or activate environment.\n#### For linux\n\n```bash\nsource ./tf_vision/bin/activate\n```\n\n#### For windows cmd\n\n```bash\ntf_vision\\Scripts\\activate\n```\n\n## Install tensorflow and opencv\nFor latest version......\n```bash\npip install tensorflow\n```\n```bash\npip install opencv-python\n```\n\nwait.... select interpreter of vs code to your selected virtual environment from the bottom right corner.\n\nBut it will run using cpu resources. So, lets run using ``gpu`` so that it can use more cores.\nBut, native windows does not support gpu on tensorflow version greater than ``2.10.0``..........Also, package seems to be removed right now for ``tensorflow-gpu==2.10.0`` using ``pip``. \n\nFor compatiblity see here ==\u003e https://www.tensorflow.org/install/source_windows\n\nSo, lets do it using ``conda``\n\nCreate virtual env using conda first and activate.\n```bash\nconda create -n conda_env python==3.9\nconda activate conda_env\n```\nNow, select interpreter of vs code to your selected virtual environment from the bottom right corner.\n\nOk, now install cudatoolkit and cudnn for gpu support.\n```bash\nconda install cudatoolkit=11.2 cudnn=8.1 -c=conda-forge\n```\nNow install tensorflow-gpu version 2.10.0 and opencv-python\n```bash\npip install tensorflow-gpu==2.10.0\npip install opencv-python\n```\nDone.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonnesok%2Fmachine-vision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonnesok%2Fmachine-vision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonnesok%2Fmachine-vision/lists"}