{"id":19417325,"url":"https://github.com/team401/vision-tutorials","last_synced_at":"2026-04-26T08:33:33.750Z","repository":{"id":88671436,"uuid":"85116492","full_name":"team401/Vision-Tutorials","owner":"team401","description":"FRC Vision Tutorials","archived":false,"fork":false,"pushed_at":"2017-07-25T20:23:50.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-18T16:49:36.604Z","etag":null,"topics":["cpp","frc","vision"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/team401.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-03-15T20:13:03.000Z","updated_at":"2019-08-28T22:53:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"61e70c3f-9105-4b68-93b8-cfdaa38bf2d8","html_url":"https://github.com/team401/Vision-Tutorials","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/team401/Vision-Tutorials","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/team401%2FVision-Tutorials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/team401%2FVision-Tutorials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/team401%2FVision-Tutorials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/team401%2FVision-Tutorials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/team401","download_url":"https://codeload.github.com/team401/Vision-Tutorials/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/team401%2FVision-Tutorials/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32290585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T08:29:33.829Z","status":"ssl_error","status_checked_at":"2026-04-26T08:29:18.366Z","response_time":129,"last_error":"SSL_read: 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":["cpp","frc","vision"],"created_at":"2024-11-10T13:08:52.670Z","updated_at":"2026-04-26T08:33:33.746Z","avatar_url":"https://github.com/team401.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"401 Vision\n===================\n[![GPLV3 licensed](https://img.shields.io/aur/license/yaourt.svg)](./LICENSE.md)\n\n**NOTE:** This code will **_only_** run on a Linux based operating system. [Ubuntu](https://www.ubuntu.com/download) is free, easy to install, and great for beginners. You will also need to install OpenCV, the installation guides for the most common distros of Linux can be found [here](#install).\n\nThis is FRC Team 401 Copperhead Robotics' Vision Code for 2017, the files in this repository are the three most important files used in vision processing for STEAMWORKS. We used a Playstation Eye webcam as our main camera and the traditional green LED ring. The following files are included:\n\n - [Main.cpp:](https://github.com/and3212/FRC_2017_Vision/wiki/Main.cpp) The main vision processing file that calculates yaw, pitch, and distance\n - [flCalculator.cpp:](https://github.com/and3212/FRC_2017_Vision/wiki/flCalculator.cpp) Finds the focal length of your camera, import for being used in Main.cpp\n - [hsvFinder.cpp:](https://github.com/and3212/FRC_2017_Vision/wiki/hsvFinder.cpp) Finds the HSV values of a pixel while looking through your camera\n\n----------\n\u003ca name=\"install\"\u003e\u003c/a\u003e\nOpenCV Installation\n-------------\n[Ubuntu Guide](http://rodrigoberriel.com/2014/10/installing-opencv-3-0-0-on-ubuntu-14-04/)\n\n[Debian Guide](https://indranilsinharoy.com/2012/11/01/installing-opencv-on-linux/)\n\n[Fedora Guide](http://docs.opencv.org/3.1.0/dd/dd5/tutorial_py_setup_in_fedora.html#gsc.tab=0)\n\n[Arch Guide](https://www.archlinux.org/packages/extra/i686/opencv/)\n\n\u003ca name=\"runProgram\"\u003e\u003c/a\u003e\nRunning one of the Programs\n-------------\n\nOpen up a terminal and navigate to the folder and run the following commands:\n\nCreate a directory called build\n```shell\nmkdir build\n```\nGo inside of build\n```shell\ncd build\n```\nSet up CMake so it can easily compile code on the fly\n```shell\ncmake ..\n```\nCompile the code to create runnable files\n```shell\nmake\n```\nGo back up a directory\n```shell\ncd ..\n```\nRun the selected file\n```shell\n./bin/FILENAME\n```\t\n----------\n\nFor any questions about our vision code you can reach us [here](http://team401.org/contact), good luck to all of the teams out there this year!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteam401%2Fvision-tutorials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteam401%2Fvision-tutorials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteam401%2Fvision-tutorials/lists"}