Skip to content

添加了图像序列到点云的模块 - #3

Open
lhghfhdbdb wants to merge 26 commits into
ylingu:mainfrom
lhghfhdbdb:main
Open

添加了图像序列到点云的模块#3
lhghfhdbdb wants to merge 26 commits into
ylingu:mainfrom
lhghfhdbdb:main

Conversation

@lhghfhdbdb

Copy link
Copy Markdown

输入文件夹,里面有一个名为images的文件夹,放着待处理的图像序列,运行项目后会在当前文件夹路径下生成fused.ply文件和处理过程产生的文件。

@ylingu

ylingu commented Jun 26, 2025

Copy link
Copy Markdown
Owner

同步上游
路由删掉
其他无用的东西删掉
Cargo.lock不要改

@ylingu
ylingu requested a review from Copilot June 26, 2025 08:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new module to generate a fused point cloud from an input image sequence. Key changes include:

  • New services and models under the "ply" directory to implement COLMAP-based point cloud generation.
  • Updates to dependencies and project configuration (pyproject.toml and .python-version) to support the new module.
  • Integration of the new API endpoint via a FastAPI router and updates to application dependencies.

Reviewed Changes

Copilot reviewed 20 out of 153 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
backend/pyproject.toml Updated Python version requirements and added new dependencies.
backend/app/services/ply_service.py Added PlyService which orchestrates COLMAP commands and point cloud creation.
backend/app/services/ply/models/* New models and modules for Patchmatch-based depth estimation and evaluation.
backend/app/routers/ply_router.py New FastAPI router exposing an endpoint for point cloud generation.
backend/app/main.py Integrated the new ply router into the FastAPI application.
backend/app/dependencies.py Updated service imports with the addition of PlyService.
Other files (datasets, colmap_input, drone_service, etc.) Various supporting and utility changes for point cloud generation.
Comments suppressed due to low confidence (1)

backend/.python-version:1

  • The Python version is lowered from 3.12 to 3.8; please ensure all new code features are compatible with Python 3.8.
3.8

Comment on lines +5 to 6
from .ply_service import PlyService

Copilot AI Jun 26, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a duplicate import of PlyService. Remove one of these redundant import statements to improve code clarity.

Suggested change
from .ply_service import PlyService

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants