tensorflow / tensorflow/tflite-support
Add C++ Tests for Image Segmenter Category Mask
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 441
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
The current C++ category mask test mocks an empty frame buffer to test the Postprocess function.
There is no test for calling the Segment function with a frame buffer constructed from image data and obtaining a category mask result.
Could this be added in C++? This will also let the iOS, Python APIs compare to the values of this test for category mask.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tensorflow_lite_support/cc/test/task/vision/image_segmenter_test.cc, especially the existing category mask test around line 462, and review the Segment and Postprocess entry points in image_segmenter.h. Add coverage for Segment using a frame buffer constructed from image data, with assertions for the category mask values that other APIs can compare against.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100