DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to test motion and looming output from a webcam or video with Flybrain Robot Bridge

Feed a webcam or your own video into the mock backend in dry-run mode to inspect vision signals.

Short answer: Complete the setup from the synthetic demo so the package is installed in an active virtual environment; then 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. All steps.

  • Research
  • Intermediate
  • 15 minutes
  • From the README
  • Any agent

Who it is forA researcher or hobbyist who wants to see how real camera motion affects the model's motion and looming groups before any robot is connected.

The problemSynthetic frames do not show how real lighting, camera motion or frame rate change the optical-flow signals.

The outcomeTerminal output of motion, looming and motor activity driven by real footage, with dry-run keeping all commands local.

What you need first

  • 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

Steps

  1. Complete the setup from the synthetic demo so the package is installed in an active virtual environment.
  2. Run the webcam mode with python -m flybrain_robot.main --backend mock --camera 0 --dry-run.
  3. Or run your own footage with python -m flybrain_robot.main --backend mock --video /path/to/your/video.mp4 --dry-run.
  4. Watch the looming and motion values and note how they change when the camera or scene moves.

Prompt for your agent

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.

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.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Frankweb33/flybrain-robot-bridge and "Test motion and looming output from a webcam or video"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer