OHREN_Lab

News소식AppleApple

Apple releases Depth Pro 2, which estimates per-pixel metric depth from photos, videos and live camera feeds, with weights for non-commercial research onlyApple, 사진 · 영상 · 실시간 카메라 화면의 픽셀별 미터 깊이를 추정하는 Depth Pro 2 공개 — 가중치는 비상업 연구 전용

Apple has released Depth Pro 2, which estimates metric depth for every pixel of a single photo, a whole video or a live camera feed, on Hugging Face in four sizes from S with 24M parameters to H+ with 872M. The weights are under the Apple Machine Learning Research Model license, which permits use exclusively for non-commercial scientific research and academic development and excludes commercial exploitation, product development and use in any commercial product or service; the code runs on Linux or Apple silicon Macs on the first available device among an NVIDIA GPU, an Apple silicon GPU and the CPU.Apple이 사진 한 장이나 영상, 실시간 카메라 화면에서 모든 픽셀의 깊이를 미터 단위로 추정하는 Depth Pro 2를 파라미터 24M의 S부터 872M의 H+까지 네 크기로 Hugging Face에 공개했습니다. 가중치는 비상업 과학 연구와 학술 개발에만 쓸 수 있는 Apple Machine Learning Research Model 라이선스를 따라 상업적 이용과 제품 개발, 상업 제품이나 서비스에는 쓸 수 없고, 코드는 Linux나 Apple silicon Mac에서 NVIDIA GPU, Apple silicon GPU, CPU 가운데 먼저 쓸 수 있는 장치로 돕니다.

Source published원문 게시일
Checked확인일

Apple has released Depth Pro 2, a model that estimates metric depth for every pixel from an ordinary camera: a single photo, a whole video or a live feed. The weights are under the Apple Machine Learning Research Model license, which permits use exclusively for Research Purposes, defined as non-commercial scientific research and academic development, and which excludes commercial exploitation, product development and use in any commercial product or service. One network handles all three inputs at the input's full resolution, and Apple says its depth is sharp at object edges and steady from frame to frame.Apple이 평범한 카메라로 찍은 사진 한 장이나 영상 전체, 실시간 카메라 화면에서 모든 픽셀의 깊이를 미터 단위로 추정하는 모델 Depth Pro 2를 공개했습니다. 가중치는 Apple Machine Learning Research Model 라이선스로 나와 비상업 과학 연구와 학술 개발에만 쓸 수 있고, 상업적 이용과 제품 개발, 상업 제품이나 서비스에 쓰는 것은 이 연구 목적에 들지 않습니다. 네트워크 하나가 세 가지 입력을 모두 다루며 입력의 원래 해상도로 깊이를 내고, Apple은 이 깊이가 물체 경계에서 선명하고 프레임과 프레임 사이에서 흔들리지 않는다고 밝혔습니다.

Five photos from the Depth Pro 2 README, a dirt path between bare trees, a long-haired cow, tangled power lines, a cactus and a goat, on top, with the depth Depth Pro 2 predicted for each below as colors, red near and blue far.
Image: Apple, Depth Pro 2 README on GitHub.그림: Apple Depth Pro 2 GitHub 저장소 README. Open original원본 보기

The model comes in four sizes, S with 24M parameters, B with 97M, L with 334M and H+ with 872M, each in its own Hugging Face repository with its weights, with downloads from 97 MB for S to 3.5 GB for H+. Apple says larger sizes give sharper, steadier depth and smaller ones run faster. All sizes share a focal length estimator with 23.5M parameters (94 MB), which predicts the focal length when it is unknown, and the README points to the paper on arXiv for a comparison of the sizes, including their speed and memory.모델은 파라미터 24M의 S, 97M의 B, 334M의 L, 872M의 H+ 네 크기로 나왔고 크기마다 가중치를 담은 Hugging Face 저장소가 따로 있으며, 내려받는 크기는 S 97MB에서 H+ 3.5GB까지입니다. Apple은 큰 모델일수록 깊이가 더 선명하고 안정적이며 작은 모델일수록 빠르다고 적었습니다. 네 크기는 23.5M 파라미터(94MB)의 초점 거리 추정기를 함께 쓰고, 이 추정기는 초점 거리를 모를 때 그 값을 예측합니다. 크기별 속도와 메모리 비교는 arXiv에 올라온 논문에 있다고 README는 적었습니다.

The code in the GitHub repository runs on Linux or an Apple silicon Mac through uv: a single command takes a photo or a video file, and the first run downloads the weights of the default model, H+ (3.5 GB). The command runs on the first available device, an NVIDIA GPU (CUDA), an Apple silicon GPU (MPS) or the CPU, and the README suggests starting with S on a laptop. Results come out as a color depth image, PNG or MP4, and options add files with the depth in meters and the focal length used, or 16-bit inverse-depth PNGs for editing and compositing tools. The Python interface handles photos, video files and live streams with the same model.GitHub 저장소의 코드는 Linux나 Apple silicon Mac에서 uv로 돌리며, 사진이나 영상 파일을 명령 하나로 넣으면 첫 실행 때 기본 모델 H+의 가중치(3.5GB)를 내려받습니다. 명령은 NVIDIA GPU(CUDA), Apple silicon GPU(MPS), CPU 가운데 먼저 쓸 수 있는 장치에서 돌고, README는 노트북에서는 S로 시작하라고 안내합니다. 결과는 깊이를 색으로 나타낸 PNG나 MP4로 나오고, 옵션을 주면 미터 단위 깊이와 쓰인 초점 거리를 담은 파일이나 편집 · 합성 도구용 16비트 역깊이 PNG도 씁니다. Python에서도 사진, 영상 파일, 실시간 스트림을 같은 모델로 다룹니다.

By default, video files are processed in clips of 16 frames that overlap by 4 frames, which keeps the depth steady where clips meet; when depth is needed immediately, as with a camera, another mode predicts each frame as soon as it arrives from the frame itself and the 15 frames before it. Depth in meters requires the camera's focal length: photos usually record it in their EXIF data, the field-of-view estimator predicts it for other photos and for videos, and a video gets one focal length for all its frames. A minimal Mac demo app shows live depth from the camera with Core ML and needs Apple silicon, macOS 15 or later, and Xcode 16 or later or its command line tools; exported Core ML models are also on Hugging Face.영상 파일은 기본으로 16프레임씩 4프레임을 겹쳐 묶어 처리해 묶음이 만나는 곳에서도 깊이가 고르게 이어지고, 카메라처럼 깊이가 곧바로 필요할 때는 각 프레임을 그 프레임과 앞 15프레임만으로 들어오는 대로 예측하는 모드가 있습니다. 미터 단위 깊이에는 카메라 초점 거리가 필요한데, 사진은 보통 EXIF에 그 값이 기록돼 있고 그 밖의 사진과 영상은 초점 거리 추정기가 예측하며, 영상 하나에는 초점 거리 하나가 쓰입니다. Mac 데모 앱은 Core ML로 카메라 화면의 깊이를 실시간으로 보여 주며 Apple silicon, macOS 15 이상, Xcode 16 이상이나 그 명령줄 도구가 필요하고, Core ML로 내보낸 모델도 Hugging Face에 있습니다.

The Depth Pro 2 repositories on Hugging Face, including one for each size, are open for download without an access request, and the code, unlike the weights, is under the repository's LICENSE. Research Purposes in the weights license means non-commercial activities such as experimentation, analysis and testing with the sole intent to advance scientific knowledge and research, and the licensed model covers not only trained model weights but also algorithms, configurations, checkpoints and related materials, including documentation. Anyone redistributing the model or a derivative must provide a copy of the license and a set attribution notice, derivatives must disclose their modifications, and derivatives are also limited to Research Purposes.Hugging Face의 Depth Pro 2 저장소와 크기별 저장소는 접근 신청 없이 받을 수 있게 열려 있고, 코드는 가중치와 달리 저장소의 LICENSE를 따릅니다. 가중치 라이선스가 말하는 연구 목적은 과학 지식과 연구를 넓히려는 실험, 분석, 시험 같은 비상업 활동이고, 이 라이선스가 묶는 모델에는 학습된 가중치뿐 아니라 알고리즘, 설정, 체크포인트와 문서를 포함한 관련 자료가 들어갑니다. 모델이나 파생 모델을 다시 나눌 때는 라이선스 사본과 정해진 출처 문구를 함께 줘야 하고, 파생 모델은 바꾼 점을 밝혀야 하며 파생 모델도 연구 목적으로만 쓸 수 있습니다.

The README says sky pixels have infinite depth or, especially with the smaller models, a finite depth of several kilometers, so the depth range needs clipping before making a point cloud or a color image. Depth scales with the focal length, so a focal length 10% too long places everything 10% too far, and memory grows with the frame size and the window rather than with the length of the video. The repository does not include training or evaluation code.하늘처럼 끝없이 먼 곳의 픽셀은 깊이가 무한대로 나오거나 특히 작은 모델에서는 수 킬로미터의 유한한 값으로 나오기 때문에, 점 구름이나 색 그림을 만들기 전에 깊이 범위를 잘라 내야 한다고 README는 적었습니다. 깊이는 초점 거리에 따라 커져서 초점 거리가 10% 길게 잡히면 모든 것이 10% 멀게 놓이고, 메모리는 영상 길이가 아니라 프레임 크기와 묶음 길이에 따라 늘어납니다. 저장소에는 학습 코드와 평가 코드가 들어 있지 않습니다.

All algoit posts알고IT 글 목록

Follow our AI news onAI 소식 팔로우하기X Instagram Threads