{"id":18192008,"url":"https://github.com/codekow/demo-computer-vision","last_synced_at":"2025-10-19T13:24:22.085Z","repository":{"id":39945569,"uuid":"498804774","full_name":"codekow/demo-computer-vision","owner":"codekow","description":"Simple computer vision demo for edge deployment","archived":false,"fork":false,"pushed_at":"2024-10-16T14:36:29.000Z","size":53748,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-16T16:51:45.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/codekow.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":"2022-06-01T16:01:31.000Z","updated_at":"2024-10-15T18:03:14.000Z","dependencies_parsed_at":"2024-11-03T06:52:06.248Z","dependency_job_id":null,"html_url":"https://github.com/codekow/demo-computer-vision","commit_stats":null,"previous_names":["codekow/demo-computer-vision"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fdemo-computer-vision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fdemo-computer-vision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fdemo-computer-vision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fdemo-computer-vision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codekow","download_url":"https://codeload.github.com/codekow/demo-computer-vision/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246782001,"owners_count":20832953,"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":[],"created_at":"2024-11-03T06:42:00.069Z","updated_at":"2025-10-19T13:24:17.045Z","avatar_url":"https://github.com/codekow.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computer Vision Demo\n\n[![Check Spelling](https://github.com/codekow/demo-computer-vision/actions/workflows/spellcheck.yaml/badge.svg)](https://github.com/codekow/demo-computer-vision/actions/workflows/spellcheck.yaml)\n[![File Linting](https://github.com/redhat-na-ssa/simplevis/actions/workflows/linting.yaml/badge.svg)](https://github.com/redhat-na-ssa/simplevis/actions/workflows/linting.yaml)\n\nThis repo helps to demonstrate the use of computer vision, containers, and openshift\n\n## Quickstart\n\nBuild model server via source\n\ns2i strategy: `source`\n\n```sh\nAPP_NAME=model-serving-cv\n\noc new-app \\\n  https://github.com/redhat-na-ssa/demo-computer-vision.git#peer-review \\\n  --name ${APP_NAME} \\\n  --strategy source \\\n  --context-dir /components/model\n\noc label all --all app=demo-computer-vision\n```\n\nBuild model server via `Dockerfile`\n\ns2i strategy: `docker`\n\n```sh\nAPP_NAME=model-serving-cv-dockerfile\noc new-app \\\n  https://github.com/redhat-na-ssa/demo-computer-vision.git#peer-review \\\n  --label app=demo-computer-vision \\\n  --name ${APP_NAME} \\\n  --strategy docker \\\n  --context-dir /components/model\n```\n\nExpose API / model server - Route\n\n```sh\noc expose service \\\n  ${APP_NAME} \\\n  --label app=demo-computer-vision \\\n  --port 8080 \\\n  --overrides='{\"spec\":{\"tls\":{\"termination\":\"edge\"}}}'\n```\n\nBuild camera capture via `Dockerfile`\n\ns2i strategy: `docker`\n\n```sh\nAPP_NAME=camera-capture-cv\noc new-app \\\n  https://github.com/redhat-na-ssa/demo-computer-vision.git#peer-review \\\n  --label app=demo-computer-vision \\\n  --name ${APP_NAME} \\\n  --strategy docker \\\n  --context-dir /components/camera\n```\n\nSetup Liveness Probe\n\n```sh\noc set probe deploy/${APP_NAME} \\\n  --liveness \\\n  --get-url=http://:8080/healthz\n```\n\n## TODO\n\n- [ ] tell story\n- [ ] address dependencies\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekow%2Fdemo-computer-vision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodekow%2Fdemo-computer-vision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekow%2Fdemo-computer-vision/lists"}