---
name: Mac iPhone Continuity Camera index is 0
description: On Cameron's Mac, the iPhone Continuity Camera shows up as cv2.VideoCapture index 0 (not 1) — default any new --camera flag accordingly.
type: project
originSessionId: 531aff41-3330-4729-8ba1-09499450783f
---
For any new script using `cv2.VideoCapture(N, cv2.CAP_AVFOUNDATION)` on the Mac, default `--camera` to **0**, not 1. Cameron has confirmed this twice now (most recently when running `test_deploy_trajectory.py` and asking that 0 be the default).

**Why:** With iPhone Continuity Camera plugged in, OpenCV picks up the iPhone at index 0 — even though older docs and `vis_rgb_and_motor_robot_rawcam.py` originally defaulted to 1 (assuming index 0 = built-in FaceTime HD).

**How to apply:** When writing or editing any Mac-side cv2 capture script under `smith300_para_stuff/scratch/` (or any other Mac robotics tool), set `--camera` argparse default to 0. If editing an existing script with default=1, flip it to 0 unless the user explicitly says they want the FaceTime cam.
