Skip to content
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

Is it possible to save each character detected in an image to a separate file? #8

Open
corydambach opened this issue Apr 3, 2023 · 3 comments

Comments

@corydambach
Copy link

Is it possible to save each character detected in an image to a separate file?

@SkyTNT
Copy link
Owner

SkyTNT commented Apr 5, 2023

It is not possible now.

@cory-vade
Copy link

Is it because of the neural network architecture used?

@narugo1992
Copy link

@cory-vade

Because this is a semantic segmentation problem. It will only identify pixels in the image that correspond to the concept of "person". If you expect to segment different individuals separately, then it would be an instance segmentation task, which requires completely different algorithms such as YOLO, DINO, and so on.

BTW, we have trained an object detection model specifically for characters in anime images (online demo, Python library). You might consider trying to perform object detection first and then use the semantic segmentation model within each detected region. Although it may not be perfect (for example, it may not separate two close individuals), it should yield some results.

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

No branches or pull requests

4 participants