Depth Anything 3 (V3)と V2の 違い・ 使い方・商用利用
この記事について:公開されている情報をもとにOwl3Dが執筆しました。出典(全15件)は記事の最後に掲載しています。
結論
Depth Anything

左:
この
- 違い: V2は
写真1枚から 深度マップを 作ります。 V3は 複数の 写真から、 深度と カメラの 位置も まとめて 推定できます [1] [2]。 - 商用利用: GitHubと
Hugging Faceの 両方で Apache 2.0と 表記されているのは、 V2 Small、 DA3-SMALL、 DA3-BASE、 DA3METRIC-LARGE、 DA3MONO-LARGEです。 V2メトリック版Smallは 学習データの ライセンスに 注意が 要ります。 ほかは 非商用 (CC BY-NC 4.0)か、 表記が 食い 違っています [1] [2][5]。 - すぐ
試す: コードなしなら、V2 Smallが ブラウザで 動く 無料の 深度マップ作成ツール があります (ツールも 記事も Owl3D製)。 - 使い方は
3通りです。 ①コードなしで ブラウザの ツール、 ②Python (V2は Transformersで 数行、 V3は 専用パッケージ)、 ③ComfyUIの ノードです (使い方)。 - V2と
V3では 値の 大小が 逆です。 そのまま 並べると 白黒が 逆に 見えます (よく ある )。質問
V2とV3の違い
いちばん
| Depth Anything V2 | Depth Anything 3 | |
|---|---|---|
| 公開 | 2024年6月14日 | 2025年11月14日 |
| 開発 | 香港大学と | ByteDance Seed[2][6] |
| 入力 | 写真1枚 | 写真1枚または |
| 出力 | 深度マップ | 深度マップ、 |
| サイズ | Small 24.8M、 | Small 0.08B、 |
| 出力の | 手前ほど | 奥ほど |
V3の
開発チームは
どのモデルを選ぶ?
まず、
ひと目で
- 写真1枚の
深度マップを、 商用で 使う: V2 Smallか DA3MONO-LARGE。 どちらも Apache 2.0です [1] [2]。 - メートル単位の
距離が ほしい: 商用なら DA3METRIC-LARGE。 研究や 個人の 試用なら、 V2の メトリック版 (屋内向けHypersim、 屋外向けVirtual KITTI 2)も 使えます [2] [4]。 - 複数の
写真から 3Dや カメラの 位置を 出したい: V3の メインシリーズ。 商用なら DA3-SMALLか DA3-BASE[2]。 - 研究や
個人の 試用で、 精度を 優先: DA3-GIANT-1.1か DA3NESTED-GIANT-LARGE-1.1 (非商用)。 V2を 使うなら Large (非商用) [1] [2]。
DA3METRIC-LARGEの
商用利用できる?サイズ別ライセンス一覧
Depth Anythingの
| モデル | GitHubの | Hugging Faceの | 商用利用 |
|---|---|---|---|
| V2 Small | Apache 2.0 | apache-2.0 | 可 |
| V2 Base / Large | CC BY-NC 4.0 | cc-by-nc-4.0 | 不可 |
| V2 メトリック版 Small | 記載なし | apache-2.0 | 注意 |
| V2 メトリック版 Base / Large | 記載なし | apache-2.0 | 表記が |
| DA3-SMALL / DA3-BASE | Apache 2.0 | apache-2.0 | 可 |
| DA3METRIC-LARGE / DA3MONO-LARGE | Apache 2.0 | apache-2.0 | 可 |
| DA3-LARGE | CC BY-NC 4.0 | cc-by-nc-4.0 | 不可 |
| DA3-LARGE-1.1 | CC BY-NC 4.0 | apache-2.0 | 表記が |
| DA3-GIANT | CC BY-NC 4.0 | cc-by-nc-4.0 | 不可 |
Apache 2.0の
この
使い方:コードなし、Python、ComfyUI
コードなしで試す
Owl3Dの
Python(V2)
V2はpip install transformers torch pillowを
from transformers import pipeline
from PIL import Image
pipe = pipeline(task="depth-estimation", model="depth-anything/Depth-Anything-V2-Small-hf")
image = Image.open("photo.jpg")
depth = pipe(image)["depth"] # 表示用の8bit画像(手前が白)
depth.save("depth.png")
計算にpipe(image)["predicted_depth"]でmodel=を"depth-anything/Depth-Anything-V2-Large-hf"に
Python(V3)
V3は
pip install xformers "torch>=2" torchvision
git clone https://github.com/ByteDance-Seed/Depth-Anything-3
cd Depth-Anything-3
pip install -e .
import numpy as np, torch
from PIL import Image
from depth_anything_3.api import DepthAnything3
model = DepthAnything3.from_pretrained("depth-anything/DA3-SMALL").to(torch.device("cuda"))
prediction = model.inference(["photo.jpg"])
depth = prediction.depth[0] # [高さ, 幅]のfloat32配列。値が大きいほど奥
# 大きさは計算時のサイズ(1280×853の写真なら504×336)
d = 1.0 / np.maximum(depth, 1e-6) # 逆数で手前を大きく(V2と同じ向き)
d = (d - d.min()) / (d.max() - d.min()) # 0〜1に正規化
Image.fromarray((d * 255).astype("uint8")).save("depth_v3.png")
上の
必要なPCと速さ
V2の
| モデル | 実行環境 | 1枚の |
GPUメモリの |
|---|---|---|---|
| V2 Small | RTX 4090 | 約0.04秒 | 約0.3GB |
| V2 Small | CPU |
約0.5秒 | — |
| DA3-SMALL | RTX 4090 | 約0.05秒 | 約0.3GB |
この
ComfyUIとBlender
ComfyUIでは、
単眼深度推定とは
深度推定は、
動画で使いたいとき
V2の
Owl3Dの
{{cta}}
よくある質問
V2とV3、結局どっちを使えばいい?
写真1枚の
Depth Anythingは無料?商用利用できますか?
モデルも
非商用のモデルで作った深度マップは、商用で使えない?
商用の
V2とV3で深度マップの白黒が逆になるのはなぜですか?
V2は
Depth Anythingでメートル単位の距離は出せますか?
標準の
出典 (15)
- Lihe Yangほか、
「Depth Anything V2」 (GitHub、 README) (英語)、 https://github.com/DepthAnything/Depth-Anything-V2 (2026年12月3日閲覧) - Haotong Linほか
(ByteDance Seed)、 「Depth Anything 3」 (GitHub、 README) (英語)、 https://github.com/ByteDance-Seed/Depth-Anything-3 (2026年12月3日閲覧) - Hugging Face、
「Monocular depth estimation」 (Transformers documentation) (英語)、 https://huggingface.co/docs/transformers/en/tasks/monocular_depth_estimation (2026年12月2日閲覧) - Lihe Yangほか、
「Depth Anything V2 for Metric Depth Estimation」 (GitHub) (英語)、 https://github.com/DepthAnything/Depth-Anything-V2/tree/main/metric_depth (2026年12月3日閲覧) - Hugging Face、
Depth Anything V2と Depth Anything 3の モデル一覧 (depth-anything)と モデルごとの ライセンス表記 (英語)、 https://huggingface.co/depth-anything 、https://huggingface.co/api/models?author=depth-anything (2026年12月3日閲覧) - Hugging Face、
「DA3-LARGE-1.1」 モデルページ (英語)、 https://huggingface.co/depth-anything/DA3-LARGE-1.1 (2026年12月3日閲覧) - Apache Software Foundation、
「Apache License, Version 2.0」 (英語)、 https://www.apache.org/licenses/LICENSE-2.0 (2026年12月2日閲覧) - Creative Commons、
「表示-非営利 4.0 国際 (CC BY-NC 4.0)」コモンズ証、 https://creativecommons.org/licenses/by-nc/4.0/deed.ja (2026年12月2日閲覧) - Depth Anything V2、
LICENSE (GitHub) (英語)、 https://github.com/DepthAnything/Depth-Anything-V2/blob/main/LICENSE (2026年12月3日閲覧) - Depth Anything 3、
LICENSE (GitHub) (英語)、 https://github.com/ByteDance-Seed/Depth-Anything-3/blob/main/LICENSE (2026年12月3日閲覧) - GitHub issue #259
「LARGE-1.1 model license」 (Depth Anything 3) (英語)、 https://github.com/ByteDance-Seed/Depth-Anything-3/issues/259 (2026年12月3日閲覧) - NAVER LABS Europe、
「Virtual KITTI 2 Dataset」 (英語)、 https://europe.naverlabs.com/research/computer-vision/proxy-virtual-worlds-vkitti-2/ (2026年12月3日閲覧) - Apple、
「Hypersim」 (GitHub、 README) (英語)、 https://github.com/apple-aiml-research/ml-hypersim (2026年12月3日閲覧) - Sili Chenほか、
「Video Depth Anything」 (GitHub、 README) (英語)、 https://github.com/DepthAnything/Video-Depth-Anything (2026年12月3日閲覧) - Lihe Yangほか、
「Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data」 (arXiv:2401.10891、 2024年1月19日) (英語)、 https://arxiv.org/abs/2401.10891 (2026年12月3日閲覧)