{"id":22089551,"url":"https://github.com/fatihilhan42/arm_control_with_opencv","last_synced_at":"2026-05-05T12:34:06.580Z","repository":{"id":154677099,"uuid":"519791565","full_name":"fatihilhan42/Arm_Control_with_OpenCV","owner":"fatihilhan42","description":"It is the robot arm control project of our Computer Vision works with Opencv. In this project, a Firebase-based robot project was realized by using Opencv and Mediapipe artificial intelligence libraries. Below I tried to explain the details of the project step by step.","archived":false,"fork":false,"pushed_at":"2022-07-31T14:01:29.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T22:48:45.997Z","etag":null,"topics":["computer-vision","fortytwo","image-processing","open-source","opencv","raspberry-pi","raspberry-pi-3"],"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/fatihilhan42.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-07-31T13:59:40.000Z","updated_at":"2023-11-22T21:50:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"038169ca-9bb5-492e-bad6-4591a741758c","html_url":"https://github.com/fatihilhan42/Arm_Control_with_OpenCV","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fatihilhan42/Arm_Control_with_OpenCV","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatihilhan42%2FArm_Control_with_OpenCV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatihilhan42%2FArm_Control_with_OpenCV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatihilhan42%2FArm_Control_with_OpenCV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatihilhan42%2FArm_Control_with_OpenCV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fatihilhan42","download_url":"https://codeload.github.com/fatihilhan42/Arm_Control_with_OpenCV/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatihilhan42%2FArm_Control_with_OpenCV/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32649598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["computer-vision","fortytwo","image-processing","open-source","opencv","raspberry-pi","raspberry-pi-3"],"created_at":"2024-12-01T02:13:26.000Z","updated_at":"2026-05-05T12:34:06.571Z","avatar_url":"https://github.com/fatihilhan42.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arm control with OpenCv,Mediapipe and Firebase\nIt is the robot arm control project of our Computer Vision works with Opencv. In this project, a Firebase-based robot project was realized by using Opencv and Mediapipe artificial intelligence libraries. Below I tried to explain the details of the project step by step.\n\n## Arm control with OpenCv,Mediapipe and Firebase\n\nFirst, we will download the libraries we will use.\n```Python\nimport mediapipe as mp\nimport cv2\nimport numpy as np\nimport pyrebase\nimport time\n```\n\n### The code block we linked to Firebase\n\n```Python\n# içerikler - contants\nml = 150\nmax_x, max_y = 300 + ml, 50\ncurr_tool = \"Arac Sec\"\ntime_init = True\nrad = 40\nvar_inits = False\nthick = 2\nprevx, prevy = 0, 0\n\nfirebaseConfig = {\n  \"apiKey\": \"AIzaSyB_S2tR_2YsRrM-KQUHsS_Uj_q1kmGBetM\",\n  \"authDomain\": \"armrobot-98491.firebaseapp.com\",\n  \"databaseURL\": \"https://armrobot-98491-default-rtdb.firebaseio.com/\",\n  \"projectId\": \"armrobot-98491\",\n  \"storageBucket\": \"armrobot-98491.appspot.com\",\n  \"messagingSenderId\": \"755214414021\",\n  \"appId\": \"1:755214414021:web:8807c50e5d8b4c22bec0ac\",\n  \"measurementId\": \"G-YMMDCZZQ68\"\n};\n\nfirebase = pyrebase.initialize_app(firebaseConfig)\n\ndb = firebase.database()\nsize = 4\n```\nAfter registering Firebase from Google, create your project file and paste the drawn part in our code.\n\n\n![image](https://user-images.githubusercontent.com/67556543/181937768-3ef4a23d-9acd-47ff-b420-a3b14e03f6e4.png)\n\n**NOTE**\n\nThe code block I have shown below will not be in firebase. Don't forget to add it. Don't forget to add it to the code block by typing its own link in your Firebase account where I have shown in the picture.\n\n```Python\n\"databaseURL\": \"https://armrobot-98491-default-rtdb.firebaseio.com/\",\n```\n![image](https://user-images.githubusercontent.com/67556543/181940174-38953af5-1e58-4b52-a56e-709a9d181a18.png)\n\n**NOTE2**\n\nAlso, do not forget to name users2 and string as a variable for the firebase base you will create.\n\n![image](https://user-images.githubusercontent.com/67556543/181944242-afa1982a-3d3d-4322-b5e0-b7d1be42f05a.png)\n\n**NOTE3**\n\nDo not forget to apply the changes you will make on the Firebase base in the raspberrypi_code part.\n\nRaspberrypi_code.py file should be run inside Raspberry Pi development board. The other main.py should be run on computer.\n\nRaspberry pi connection pins of robotic arm\n\n```Python\nGPIO.setup(11, GPIO.OUT)\nGPIO.setup(13, GPIO.OUT)\nGPIO.setup(40, GPIO.OUT)\nGPIO.setup(15, GPIO.OUT)\n```\n\n![image](https://user-images.githubusercontent.com/67556543/181952328-b0049466-522f-4a12-9df0-f40bb0a595e7.png)\n\nWiring of the servo motors of the robotic arm on the breadboard\n\n![image](https://user-images.githubusercontent.com/67556543/181953686-9304b1fe-4a4f-4db1-aadc-6a54004b273b.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatihilhan42%2Farm_control_with_opencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffatihilhan42%2Farm_control_with_opencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatihilhan42%2Farm_control_with_opencv/lists"}