felipebudinich/depth-map-exporter — explained in plain English
Analysis updated 2026-05-18
Convert an MP4 video into a grayscale depth map video for visual effects or analysis.
Track and draw colored boxes around people moving through a video.
Create a side by side comparison video of original footage and its depth map.
| felipebudinich/depth-map-exporter | abdullahselek/swiftpusher | bartosk97/dead-process-mate | |
|---|---|---|---|
| Stars | 3 | 3 | 3 |
| Language | Swift | Swift | Swift |
| Last pushed | — | 2026-06-24 | — |
| Maintenance | — | Active | — |
| Setup difficulty | hard | moderate | easy |
| Complexity | 4/5 | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an Apple Silicon Mac, Xcode tools, and a separately downloaded Core ML depth model file.
depth-exporter is a command line tool for Mac computers with Apple Silicon chips. It takes a regular video file in MP4 format and creates a new video that shows depth information as a grayscale image, where lighter or darker areas represent how near or far things are from the camera. It does this using Apple's own tools, AVFoundation and Core ML, so it does not need FFmpeg, Python, Node.js, Electron, or other common video and AI tools installed on your machine. To use it, you need a Mac running macOS 13 or newer, the Xcode command line tools, and a Core ML depth model file that you download separately, such as the Depth Anything V2 Small model mentioned in the documentation. You build the tool yourself using Swift, then run it from the terminal with your input video and chosen model. The tool offers many optional settings. You can choose which hardware runs the AI model, such as the CPU, GPU, or Neural Engine, pick how the output looks in grayscale or inverted grayscale, and control how the depth values are normalized across frames so brightness stays consistent instead of flickering. You can also cap the output resolution, set the video bitrate, keep the original audio track, or create a side by side comparison video showing the original footage stacked above its depth map. Besides depth mapping, the project includes a second command called track-boxes. This draws colored boxes around people in a video and follows them as they move, using Apple's Vision framework for detection instead of the depth model. You can set how many people to track, provide starting box positions manually, and export debug data describing each tracked box over time. This is a specialized tool built for people comfortable with the command line and building software from source code on a Mac. It has no graphical interface, so someone unfamiliar with terminal commands or compiling Swift projects may find it hard to use directly. There is no license information provided in the material available.
A macOS command line tool that turns a regular video into a grayscale depth map video using Apple's built in AI tools, with no extra software needed.
Mainly Swift. The stack also includes Swift, AVFoundation, Core ML.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.