ry-eon / Bubble-Detector-YOLOv4

16 stars 5 forks source link

bubble detector using YOLOv4

Note : It's not the final version code. I will the refine and update the code.

Overview

Models detection speech bubble in webtoons or cartoons. I have referenced and implemented pytorch-YOLOv4 to detect speech bubble. The key point for improving performance is data analysis. In the case of speech bubbles, there are various forms. Therefore, I define the form of speech bubbles and present the results of training by considering the distribution of data.


Definition of Speech Bubble

Various speech bubble forms of real webtoons

image


New Definition

Key standard for Data Definition: Shape, Color, Form

standard

classes

This class is not about detection, but about speech bubble data distribution.

image


Install dependencies

Pretrained model

Model Link
YOLOv4 Link
YOLOv4-bubble Link


Train

If you want to train custom dataset, use the information above.


Demo


Metric

tawon_bw tawon_color tawon_Transparency gasi_bw gasi_color gasi_Transparency seonggye_bw seonggye_color seonggye_Transparency sagak_bw sagak_color sagak_Transparency gurm_bw gurm_color gurm_Transparency total
116 70 68 65 29 59 51 43 44 42 33 69 47 2 12 750