Feature/unique sorted faces#19
Open
Matties1994 wants to merge 8 commits into
Open
Conversation
added filter
- Added Intersection over Union (IoU) based duplicate face detection and filtering. - Ensured faces can be sorted from largest to smallest after duplicate removal. - Corrected a minor bug in image upscaling parameter order. - The `_detect_and_crop` method now also returns raw bounding boxes used for IoU calculations. - Added helper methods `_calculate_iou` and `_filter_duplicate_detections`. - Unable to run tests due to sandbox environment disk space limitations during torch installation.
- Added a check at the beginning of `auto_crop_faces` to verify if the input `image` is `None`. - If the image is `None`, an error message is printed, and the node returns a dummy tensor and `None` for crop data to prevent the `AttributeError: 'NoneType' object has no attribute 'shape'`. - This makes the node more robust to missing inputs in a ComfyUI workflow.
Owner
|
Hi, thanks for your contribution! I noticed the latest two commits were made by a bot account. Could you clarify why the bot was used for these updates? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.