{"id":18518364,"url":"https://github.com/flash3388/flash-vision-perocessing","last_synced_at":"2026-04-21T05:32:12.043Z","repository":{"id":170806695,"uuid":"234352073","full_name":"Flash3388/flash-vision-perocessing","owner":"Flash3388","description":"Vision using the Raspberry PI image for FRC used in 2019","archived":false,"fork":false,"pushed_at":"2020-03-06T22:03:03.000Z","size":20160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T03:44:17.407Z","etag":null,"topics":["frc","frc-java","java","raspberry-pi","vision"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Flash3388.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,"zenodo":null}},"created_at":"2020-01-16T15:37:03.000Z","updated_at":"2020-02-15T00:29:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"95977583-a634-43a3-91df-2eaad97412fc","html_url":"https://github.com/Flash3388/flash-vision-perocessing","commit_stats":null,"previous_names":["flash3388/flash-vision-perocessing"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Flash3388/flash-vision-perocessing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flash3388%2Fflash-vision-perocessing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flash3388%2Fflash-vision-perocessing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flash3388%2Fflash-vision-perocessing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flash3388%2Fflash-vision-perocessing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flash3388","download_url":"https://codeload.github.com/Flash3388/flash-vision-perocessing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flash3388%2Fflash-vision-perocessing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263493396,"owners_count":23475190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["frc","frc-java","java","raspberry-pi","vision"],"created_at":"2024-11-06T17:13:07.933Z","updated_at":"2026-04-21T05:32:06.995Z","avatar_url":"https://github.com/Flash3388.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# frcvision-rpi\n\nTesting vision using the raspberry PI image for FRC\n\nUsing the example provided with the image, we set up a server which performs a simple processing on an image from a camera, and uploads it to the camera server.\n\n# What does the code do?\n\nThe code will start a camera server, using pre-defined configuration, and run a vision processing thread on the first\ndefined camera.\n\nThe vision processing will take an image from the camera, grayscale it, and upload it to the camera server into a different stream.\n\n# Configuration\n\nThe configuration is defined in `/boot/frc.json` by default, and contains the following information:\n\n- team number\n- status of the network tables instance used (for communicating with the robot - server or client)\n- settings for cameras to display in the camera server\n\n```JSON\n{\n\t\"team\": \u003cteam number\u003e,\n\t\"ntmode\": \u003c\"client\" or \"server\", \"client\" if unspecified\u003e\n\t\"cameras\": [\n\t   {\n\t       \"name\": \u003ccamera name\u003e\n\t       \"path\": \u003cpath, e.g. \"/dev/video0\"\u003e\n\t       \"pixel format\": \u003c\"MJPEG\", \"YUYV\", etc\u003e   // optional\n\t       \"width\": \u003cvideo mode width\u003e              // optional\n\t       \"height\": \u003cvideo mode height\u003e            // optional\n\t       \"fps\": \u003cvideo mode fps\u003e                  // optional\n\t       \"brightness\": \u003cpercentage brightness\u003e    // optional\n\t       \"white balance\": \u003c\"auto\", \"hold\", value\u003e // optional\n\t       \"exposure\": \u003c\"auto\", \"hold\", value\u003e      // optional\n\t       \"properties\": [                          // optional\n\t           {\n\t               \"name\": \u003cproperty name\u003e\n\t               \"value\": \u003cproperty value\u003e\n\t           }\n\t       ],\n\t       \"fov\": \u003cfield of view of the camera in radians\u003e\n\t   }\n\t],\n\t\"templateMatchingMethod\": \u003cvalue from the TemplateMatchingMethod enum, for example \"SQDIFF_NORMED\"\u003e,\n\t\"visionTemplatePath\": \u003cfull path to the template image\u003e,\n\t\"templateMatchingScaleFactor\": \u003cscale factor between the original image and the template, for example 2.0\u003e\n}\n```\n\n# Building\n\nTo build the code run the gradle wrapper: `./gradlew build` for UNIX systems and `gradlew.bat build` for Windows systems.\n\n# Deploy\n\nTo deploy the code to the Raspberry PI, simple run `./deploy.sh`. This script will use `scp` to copy both the compiled code and the `runCamera` script.\n\n# Running\n\nUsing `ssh` run the `runInteractive` script in `/home/pi`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflash3388%2Fflash-vision-perocessing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflash3388%2Fflash-vision-perocessing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflash3388%2Fflash-vision-perocessing/lists"}