nya3jp / python-animeface

A library to detect anime faces in images.
Apache License 2.0
157 stars 13 forks source link

Ways to optimize python-animeface? #2

Closed kir12 closed 2 years ago

kir12 commented 6 years ago

I'm implementing python-animeface as part of a larger project involving anime characters' faces. Insofar, python-animeface's algorithm has worked fairly well, but some images haven't worked as well. (e.g. this photo) It might very well be something wrong with my implementation of anime-face, but any chance you know of ways to optimize python-animeface?

nya3jp commented 6 years ago

Unfortunately, there's no easy way to optimize the model.

The original author of the library has a page describing how to train models, so it's technically possible to create models by yourself. But you'll need to implement a training code by your own (it's not published by the author) and also you'll need a dataset of anime character faces with region annotations.