{"id":22042638,"url":"https://github.com/renanstn/opencv-dice-roll","last_synced_at":"2026-04-17T01:31:42.059Z","repository":{"id":119527912,"uuid":"340490485","full_name":"renanstn/opencv-dice-roll","owner":"renanstn","description":"Projeto com opencv que utiliza a câmera de um celular para identifica o resultado de uma rolagem de dados.","archived":false,"fork":false,"pushed_at":"2021-02-24T13:27:58.000Z","size":93,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T13:42:56.405Z","etag":null,"topics":["opencv","opencv-python","python"],"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/renanstn.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":"2021-02-19T21:10:43.000Z","updated_at":"2021-04-08T17:23:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"a9e3b501-d28e-45e3-8fb3-8daae5c61520","html_url":"https://github.com/renanstn/opencv-dice-roll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renanstn/opencv-dice-roll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanstn%2Fopencv-dice-roll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanstn%2Fopencv-dice-roll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanstn%2Fopencv-dice-roll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanstn%2Fopencv-dice-roll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renanstn","download_url":"https://codeload.github.com/renanstn/opencv-dice-roll/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanstn%2Fopencv-dice-roll/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31911443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["opencv","opencv-python","python"],"created_at":"2024-11-30T12:13:06.197Z","updated_at":"2026-04-17T01:31:42.016Z","avatar_url":"https://github.com/renanstn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opencv-dice-roll\n\nProjeto com opencv, para estudo, que identifica o resultado de uma rolagem de dados.\n\n![print](/images/print.png)\n\nFeito seguindo [este](https://golsteyn.com/projects/dice/) ótimo tutorial\n\n## Executando\n\n- Para este teste, usei um celular Android com o aplicativo [Droid Cam](https://www.dev47apps.com/) instalado, para exportar as imagens da câmera para a rede local.\n- Instalar dependências\n  - `pipenv install`\n- Acessar pasta `src`\n  - `cd src`\n- Executar o script `main.py`\n  - `python main.py`\n\n## Funções principais utilizadas:\n\n- `cv2.SimpleBlobDetector_create(params)`: Detector de blobs do `cv2`, identifica e conta os pontinhos dos dados\n- `cluster.DBSCAN(eps=40, min_samples=0)`: Identificador de clusters do `sklearn`, para identificar os múltiplos dados que podem ser rolados simultaneamente. Mais informações sobre o cluster, [aqui](https://sklearn.org/modules/clustering.html#dbscan)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenanstn%2Fopencv-dice-roll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenanstn%2Fopencv-dice-roll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenanstn%2Fopencv-dice-roll/lists"}