bytedance / bytedance/SIFThinker

about depth map

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Thank you for your open-source work. I'm working on running the CoT data from scratch and need to use Depth Anything V2 to generate the depth maps ourselves. The extracted archive only contains the original images, without any depth maps. My question is: should the required depth maps here be in the range of 0 to 255? Are they generated through the following calculations:
depth = depth_anything.infer_image(raw_image, args.input_size)
depth = (depth - depth.min()) / (depth.max() - depth.min()) * 255.0
depth = depth.astype(np.uint8)
depth = (cmap(depth)[:, :, :3] * 255)[:, :, ::-1].astype(np.uint8)?

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. First determine how the repository consumes depth maps and whether Depth Anything V2 preprocessing is documented; done means the expected value range and conversion steps are explicitly answered or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.