Skip to content

Rename preprocess method#52

Merged
demoulinv merged 1 commit into
mainfrom
dev/renameExistingPreprocessMethod
May 18, 2026
Merged

Rename preprocess method#52
demoulinv merged 1 commit into
mainfrom
dev/renameExistingPreprocessMethod

Conversation

@demoulinv
Copy link
Copy Markdown
Collaborator

This pull request refactors the VideoSegmentationSam3Text node in meshroom/imageSegmentation/VideoSegmentationSam3Text.py to improve code clarity and ensure path resolution occurs earlier in the processing pipeline. The most important changes are:

Refactoring and Code Organization:

  • Renamed the preprocess method to resolvePaths in the VideoSegmentationSam3Text class for clearer intent and maintainability.

Processing Logic Improvements:

  • Added a call to the new resolvePaths method at the beginning of the processChunk method to ensure input paths are resolved before processing each chunk.

@demoulinv demoulinv self-assigned this May 18, 2026
Copilot AI review requested due to automatic review settings May 18, 2026 09:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 refactors path resolution in VideoSegmentationSam3Text by renaming the preprocessing helper and invoking it at the start of chunk processing.

Changes:

  • Renames preprocess to resolvePaths.
  • Calls resolvePaths from processChunk before the segmentation logic runs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread meshroom/imageSegmentation/VideoSegmentationSam3Text.py
@demoulinv demoulinv merged commit 971e211 into main May 18, 2026
1 check passed
@demoulinv demoulinv deleted the dev/renameExistingPreprocessMethod branch May 18, 2026 09:25
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.

2 participants