{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "frankweb33-flybrain-robot-bridge--test-bridge-with-webcam-or-video",
 "repo": "Frankweb33/flybrain-robot-bridge",
 "repo_url": "https://github.com/Frankweb33/flybrain-robot-bridge",
 "repo_slug": "frankweb33-flybrain-robot-bridge",
 "title": "Test motion and looming output from a webcam or video",
 "page_title": "How to test motion and looming output from a webcam or video with Flybrain Robot Bridge",
 "summary": "Feed a webcam or your own video into the mock backend in dry-run mode to inspect vision signals.",
 "who": "A researcher or hobbyist who wants to see how real camera motion affects the model's motion and looming groups before any robot is connected.",
 "problem": "Synthetic frames do not show how real lighting, camera motion or frame rate change the optical-flow signals.",
 "outcome": "Terminal output of motion, looming and motor activity driven by real footage, with dry-run keeping all commands local.",
 "steps": [
  "Complete the setup from the synthetic demo so the package is installed in an active virtual environment.",
  "Run the webcam mode with `python -m flybrain_robot.main --backend mock --camera 0 --dry-run`.",
  "Or run your own footage with `python -m flybrain_robot.main --backend mock --video /path/to/your/video.mp4 --dry-run`.",
  "Watch the looming and motion values and note how they change when the camera or scene moves."
 ],
 "agent_prompt": "In the flybrain-robot-bridge repo, run python -m flybrain_robot.main --backend mock --video <path-to-video.mp4> --dry-run on the file at <path-to-video.mp4>. Report the motion, looming and motor activity values over the run. Verify that the output shows dry-run and that no UDP packets were sent.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README says looming is a center-relative optical-flow heuristic that is sensitive to camera motion, lighting and frame rate, and webcam hardware is untested.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 or newer",
  "git and a terminal",
  "A webcam or a video file, optional, for live or recorded input",
  "A calibrated robot, network link and independent motor power cutoff, only if you plan to use --send"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/frankweb33-flybrain-robot-bridge/test-bridge-with-webcam-or-video/",
 "md": "https://dedupedai.com/use-cases/frankweb33-flybrain-robot-bridge/test-bridge-with-webcam-or-video/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/frankweb33-flybrain-robot-bridge--test-bridge-with-webcam-or-video.json",
 "api_version": "v1"
}
