-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Semantic Segmentation app #263
Conversation
@wxm2018 |
@frankfliu Ok, I will resubmit a new PR. And I discussed this with xyang. Her suggestion was to keep the original Translator. Can I add a new custom xxxTranslator.java file in the ai.djl.modality.cv.translator package? |
c78d3b2
to
1ad5dad
Compare
65fb90c
to
fd8afad
Compare
Can current implementation crop the drawing area? |
You mean only remove the background? |
Like remove background and narrow to the area we need |
58f4bef
to
c698fef
Compare
We need to keep the whole background (to replace to other color or image) |
35ba804
to
b9dcde2
Compare
b9dcde2
to
10ca0be
Compare
3db8b11
to
b4ba945
Compare
b4ba945
to
0c35c42
Compare
newly add a SelfSemanticSegmentationTranslator class to get the original photo pixels, modify the way of model loading in SemanticModel.java, and add a SwitchCompat in SemanticActivity.java