{"id":23557743,"url":"https://github.com/niru-5/fortune_telling_with_rpi","last_synced_at":"2026-02-07T06:33:39.151Z","repository":{"id":268689442,"uuid":"903334029","full_name":"niru-5/fortune_telling_with_rpi","owner":"niru-5","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-24T14:03:44.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T16:21:20.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/niru-5.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-12-14T10:37:08.000Z","updated_at":"2024-12-24T14:03:48.000Z","dependencies_parsed_at":"2024-12-18T10:38:21.049Z","dependency_job_id":"66019813-e640-4ed6-84ef-6f6d25f0bdfb","html_url":"https://github.com/niru-5/fortune_telling_with_rpi","commit_stats":null,"previous_names":["niru-5/fortune_telling_with_rpi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/niru-5/fortune_telling_with_rpi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niru-5%2Ffortune_telling_with_rpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niru-5%2Ffortune_telling_with_rpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niru-5%2Ffortune_telling_with_rpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niru-5%2Ffortune_telling_with_rpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niru-5","download_url":"https://codeload.github.com/niru-5/fortune_telling_with_rpi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niru-5%2Ffortune_telling_with_rpi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29188226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T05:07:31.176Z","status":"ssl_error","status_checked_at":"2026-02-07T05:06:15.227Z","response_time":63,"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":[],"created_at":"2024-12-26T15:16:45.224Z","updated_at":"2026-02-07T06:33:39.135Z","avatar_url":"https://github.com/niru-5.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\r\n\r\nThis project aims to create an automated palm reading fortune teller using artificial intelligence. The system will:\r\n\r\n1. Capture images of users' palms using a camera connected to the Raspberry Pi\r\n2. Process and segment the hand images to isolate the palm lines and features\r\n3. Send the processed palm images to ChatGPT via API for analysis\r\n4. Return personalized daily fortune readings based on the AI's interpretation\r\n\r\n\r\n\r\nSome pre-requisites on wsl\r\n\r\nfor mmcv. \r\n```\r\nsudo apt install ffmpeg libsm6 libxext6\r\n```\r\n\r\n\r\n# pre-requisites for gpu pc\r\n```\r\npip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121\r\npip install -U openmim\r\npip install --upgrade setuptools\r\nmim install mmengine\r\nmim install \"mmcv\u003e=2.0.1\"\r\nmim install \"mmdet\u003e=3.1.0\"\r\n```\r\n\r\n\r\n# Deployment \r\nFor deployment, I think it is best to use docker. \r\n\r\nUsing the tag `openmmlab/mmdeploy:ubuntu20.04-cuda11.8-mmdeploy` since it is the latest version. \r\n```\r\nexport TAG=openmmlab/mmdeploy:ubuntu20.04-cuda11.8-mmdeploy\r\ndocker pull $TAG\r\n```\r\n\r\nusage:\r\n```\r\ndocker run -it --gpus all --rm -v /home/jason/hdd/side_projects/learning_stuff/annotated-transformer/:/workspace/annotated-transformer $TAG bash\r\n```\r\n\r\nMake sure that nvidia drivers are installed in the docker container. \r\n```\r\n# for ubuntu 24.04, use this link -\u003e https://www.server-world.info/en/note?os=Ubuntu_24.04\u0026p=nvidia\u0026f=3\r\ncurl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-toolkit.gpg\r\ncurl -fsSL https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | sudo tee /etc/apt/sources.list.d/nvidia-toolkit.list\r\n\r\nsudo sed -i -e \"s/^deb/deb \\[signed-by=\\/usr\\/share\\/keyrings\\/nvidia-toolkit.gpg\\]/g\" /etc/apt/sources.list.d/nvidia-toolkit.list\r\nsudo apt update\r\nsudo apt -y install nvidia-container-toolkit\r\nsystemctl restart docker\r\n```\r\n\r\n\r\n```\r\ndocker run --gpus=all -d --mount type=bind,source=/hdd/side_projects/,target=/hdd/side_projects/ --restart unless-stopped --name mm_deploy_container $TAG sleep infinity\r\n```\r\n\r\n\r\n# mm docker image\r\n\r\n```\r\ndocker build -t mm_docker_env:v1 .\r\n```\r\nrun command\r\n```\r\ndocker run --gpus=all -d --mount type=bind,source=/hdd/side_projects/,target=/hdd/side_projects/ --restart unless-stopped --name mm_pose_container mm_docker_env:v1 sleep infinity\r\n```\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniru-5%2Ffortune_telling_with_rpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniru-5%2Ffortune_telling_with_rpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniru-5%2Ffortune_telling_with_rpi/lists"}