{"id":17873923,"url":"https://github.com/rjean/tracker","last_synced_at":"2026-05-04T05:45:38.733Z","repository":{"id":128821032,"uuid":"264152148","full_name":"rjean/tracker","owner":"rjean","description":"Real-Time Tracking Turret project using the Coral Edge TPU and mobile-net SSD. ","archived":false,"fork":false,"pushed_at":"2023-12-09T17:02:19.000Z","size":12381,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-02T23:43:28.488Z","etag":null,"topics":["camera","coral-tpu","raspberry-pi"],"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/rjean.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":"2020-05-15T09:27:40.000Z","updated_at":"2024-03-05T00:12:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"74719d32-2d01-4a30-8129-1571f94a78fd","html_url":"https://github.com/rjean/tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rjean/tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjean%2Ftracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjean%2Ftracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjean%2Ftracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjean%2Ftracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjean","download_url":"https://codeload.github.com/rjean/tracker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjean%2Ftracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32596533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["camera","coral-tpu","raspberry-pi"],"created_at":"2024-10-28T11:05:54.795Z","updated_at":"2026-05-04T05:45:38.717Z","avatar_url":"https://github.com/rjean.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tracker\nSmall hobby project for an autonomous embedded device that can track things using a pan tilt system using the RaspberryPI.\n\nThe idea behind that is to be able to build a unofficial \"Portal Sentry Turret: https://theportalwiki.com/wiki/Sentry_Turret\".\n\n![Tracking GIF](media/tracking_demo.gif)\n\n[There is a little bit of information in my blog about this project](http://www.raphaeljean.com/index.php/2020/10/28/autonomous-tracking-turret-using-coral-ai-usb-accelerator/)\n\n# Setup.\nInstall the required packages:\n\n```\npip3 install -r requirements.txt\n```\nMake sure the gpio daemon is started when the raspberry pi boots:\n```\nsudo systemctl enable pigpiod\n```\n\n# Architecture\n## Communication\nA custom built \"rtcom\" library is used for communication.\n\nIt works by broadcasting endpoints on the network over UDP. \n\n## User Interface\nThe UI is handle by the video_reader.py file. It should be run on a PC, not on the raspberry pi.\n\nAs of now, it diplays the feed from the follower.\n\n```\npython video_reader.py\n```\n\n## Camera\nMake sure the camera is enabled:\n````\nsudo raspi-config\ninterfacing options-\u003ecamera-\u003eenable the camera\n````\n\n## AI \nThe controller requires a Coral USB Accelerator for embedded inference. https://coral.ai/docs/accelerator/get-started/.\n\ncurl -OL \"https://github.com/google-coral/edgetpu/raw/master/test_data/ssd_mobilenet_v2_coco_quant_postprocess_edgetpu.tflite\"\n\n## Run at startup\nSee https://www.tomshardware.com/how-to/run-script-at-boot-raspberry-pi\n\nEdit crontab for the user:\n```\npi@turret:~ $ crontab -e\n```\n\nAnd add that line:\n```\n@reboot bash /home/pi/follower/start.sh \u003e /home/pi/follower/start.log 2\u003e\u00261\n```\n\n# Starting the controller.\nOn the raspberry pi, run \n``` \npython3 controller.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjean%2Ftracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjean%2Ftracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjean%2Ftracker/lists"}