Skip to content

[codex] add Mac RDK camera streaming tools#1

Draft
limit-coding wants to merge 1 commit into
mainfrom
codex/mac-rdk-camera-stream
Draft

[codex] add Mac RDK camera streaming tools#1
limit-coding wants to merge 1 commit into
mainfrom
codex/mac-rdk-camera-stream

Conversation

@limit-coding

Copy link
Copy Markdown
Owner

What changed

  • Added new_project/local_mission_vision.py, a Mac-side local runner that can read either a local camera or an HTTP MJPEG stream, scan QR first, then switch to YOLO classification/detection.
  • Added new_project/rdk_deploy/mjpeg_view.py, a lightweight RDK-side ROS /image to MJPEG HTTP preview server.
  • Documented Mac camera selection, RDK-to-Mac camera streaming, and Ethernet-based access commands in new_project/README.md.

Why

This supports debugging the RDK X5 USB camera from a Mac over Ethernet/Wi-Fi without changing the RDK static IP or radar network configuration. The Mac can preview the camera in a browser or run QR -> YOLO recognition from the stream.

Validation

  • Verified the original local scripts with Python syntax checks during development.
  • Verified SSH over the Mac Ethernet static IP setup to 192.168.1.100.
  • Verified RDK /image recovered at about 30 Hz after restarting hobot_usb_cam.
  • Verified http://192.168.1.100:8080/stream returns MJPEG/JPEG data.
  • Verified Mac-side recognition can open http://192.168.1.100:8080/stream and read frames.

Notes

The local checkout had unrelated existing changes and one existing unpushed main commit, so this PR was built from a clean origin/main worktree and includes only the camera streaming/Mac runner files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant