How gyumingim/stereodepthseg works
Camera is a phone-stereo capture and computer-vision repository: the documented workflow captures paired phone video, rectifies the images, estimates dense depth, detects objects, and presents RGB/depth/point-cloud/IMU results. It also contains a broader scan3d application for recording, synchronization, VIO, mapping, replay, and web viewing. The graph uses README statements and SOURCE INDEX references for unsampled modules; those references establish dependencies, not necessarily runtime call details.
Main entry points: scan3d.py Scan orchestrator · z_phone_stereo.py Phone stereo workflow · web_server.py Web viewer · z_object_depth.py Object depth and size
Components 28
Phone capture
- Phone camera app
phone_stereo/android/src/com/camera/dualstream/MainActivity.java - Capture synchronization
phone_stereo/android/src/com/camera/dualstream/PhaseSync.java - Recording upload
phone_stereo/android/src/com/camera/dualstream/UploadService.java - Phone link
scan3d/phone_link.py - Phone receiver
scan3d/phone_rx.py
Stereo vision
- Camera calibration
lib_calib.py - Phone calibration
lib_phone_calib.py - Stereo rectification
lib_rectify.py - Stereo geometry
lib_stereo.py - Dense depth inference
lib_ffs.py - Object detection
lib_detect.py - Object depth and size
z_object_depth.py - Phone stereo workflow
z_phone_stereo.py
Scan processing
- Scan orchestrator
scan3d/scan3d.py - Frame handling
scan3d/frames.py - Recording synchronization
scan3d/rec_sync.py - Motion rectification
scan3d/motion_rect.py - OpenVINS client
scan3d/ov_client.py - Marker scale estimation
scan3d/aruco_scale.py
Mapping and viewing
- Depth fusion
scan3d/depth_fuse.py - Voxel mapping
scan3d/voxel_map.py - TSDF mapping
scan3d/tsdf_map.py - ESDF mapping
scan3d/esdf_map.py - Replay viewer
scan3d/replay_view.py - Web viewer
scan3d/web_server.py - RGB-D viewer
lib_rgbd_viewer.py - Point-cloud tools
lib_pointcloud_view.py
Other components
- Operator
Connections 31
- Operator → Phone camera app: starts capture
- Phone camera app → Capture synchronization: uses sync
phone_stereo/android/src/com/camera/dualstream/MainActivity.java - Phone camera app → Recording upload: uploads recordings
phone_stereo/android/src/com/camera/dualstream/MainActivity.java - Operator → Phone stereo workflow: runs workflow
- Phone stereo workflow → Phone calibration: loads calibration
- Phone calibration → Stereo rectification: builds geometry
- Phone stereo workflow → Stereo rectification: rectifies pairs
- Phone stereo workflow → Dense depth inference: estimates depth
- Phone stereo workflow → Object detection: detects objects
- Object depth and size → Object detection: runs detection
z_object_depth.py - Object depth and size → Stereo rectification: rectifies images
z_object_depth.py - Object depth and size → Stereo geometry: reconstructs points
z_object_depth.py - Stereo geometry → Camera calibration: finds corners
lib_stereo.py - Operator → Scan orchestrator: runs scan
scan3d/scan3d.py - Scan orchestrator → Frame handling: uses frames
scan3d/scan3d.py - Scan orchestrator → Phone link: uses phone link
scan3d/scan3d.py - Scan orchestrator → Phone receiver: uses receiver
scan3d/scan3d.py - Scan orchestrator → Recording synchronization: uses sync
scan3d/scan3d.py - Scan orchestrator → Motion rectification: uses rectification
scan3d/scan3d.py - Scan orchestrator → OpenVINS client: uses VIO client
scan3d/scan3d.py - Scan orchestrator → Marker scale estimation: uses scale estimation
scan3d/scan3d.py - Scan orchestrator → Voxel mapping: uses voxel map
scan3d/scan3d.py - Scan orchestrator → Replay viewer: uses replay viewer
scan3d/scan3d.py - Scan orchestrator → Web viewer: uses web server
scan3d/scan3d.py - Web viewer → Voxel mapping: loads map code
scan3d/web_server.py - Web viewer → TSDF mapping: loads map code
scan3d/web_server.py - Web viewer → ESDF mapping: loads map code
scan3d/web_server.py - Scan orchestrator → Depth fusion: fuses depth
scan3d/scan3d.py - Scan orchestrator → TSDF mapping: builds map
- Scan orchestrator → RGB-D viewer: presents RGB-D
- Scan orchestrator → Point-cloud tools: presents point cloud