Skip to content

Background removal techniques#79

Merged
Sarah5567 merged 3 commits into
mainfrom
background-removal-techniques
Oct 27, 2025
Merged

Background removal techniques#79
Sarah5567 merged 3 commits into
mainfrom
background-removal-techniques

Conversation

@Sarah5567

@Sarah5567 Sarah5567 commented Oct 26, 2025

Copy link
Copy Markdown
Collaborator

Adds a detailed README comparing vegetation segmentation methods used as preprocessing before nvinfer.

Includes:

  • Code examples for six methods
  • Accuracy, latency, and GPU support comparison
  • Visual results and analysis

Result: ExG + Otsu + Morphology recommended as the final preprocessing method (best accuracy).

closes #75

Co-authored-by: Sarah Gershuni <sarah556726@gmail.com>
Co-authored-by: Chani Orlinski <c9992946@gmail.com>
@Sarah5567 Sarah5567 force-pushed the background-removal-techniques branch from ad5e611 to fd3b7f4 Compare October 26, 2025 00:33
Co-authored-by: Sarah Gershuni <sarah556726@gmail.com>
Co-authored-by: Chani Orlinski <c9992946@gmail.com>
Comment thread docs/background removal techniques.md Outdated
- Their exclusion from the evaluation led to a noticeable accuracy increase.
- This suggests that model retraining or data balancing is needed for better coverage.

### Post-Optimization Results

@lyuzinmaxim lyuzinmaxim Oct 26, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please do not include this section.

The classes we fail on should be documented, and we don't want to exclude them to get better accuracy numbers (it's an antipattern in general!).

We performed hierarchical evaluation without excluding any classes. This ensures that we can assess performance across broader categories - for example, misclassifying a two-leaf maize stage as a four-leaf stage is much less critical than misclassifying it as a weed

@Sarah5567 Sarah5567 Oct 26, 2025

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

But we can’t say that our model is able to classify those classes - its accuracy on them is zero.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@Sarah5567 and we don't have to say that we're able to classify then. We just need to document this as it is

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure I understand you - is there a specific problem with the section that starts with Post-Optimization Results, or is the overall content of Class-Specific Performance Issue incorrect?

Co-authored-by: Sarah Gershuni <sarah556726@gmail.com>
Co-authored-by: Chani Orlinski <c9992946@gmail.com>
@Sarah5567 Sarah5567 merged commit 28b15fb into main Oct 27, 2025
1 check failed
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.

Investigate available background removal technics

3 participants