boostcampaitech3 / level2-data-annotation_cv-level2-cv-09

level2-data-annotation_cv-level2-cv-09 created by GitHub Classroom
0 stars 4 forks source link


image

๐Ÿšข Members

์ „๋‹ค์šด ๋ฐ•์ •์žฌ ๊น€๊ทœ๋ฏผ ์ด์œตํฌ ์„œ๊ฒฝ๊ตญ
image1 image2 image3 image4 image5

๐Ÿ”ฅ Contribution


๐Ÿ† LB Score

output


๐Ÿ”Ž Text Detection for Optical Character Recognition ๐Ÿ“‘


image

๋ฌธ์ œ ์ •์˜ โ“


โš™ Development Environment


๐Ÿ’พ Dataset

image

๐Ÿ“ Metrics


1) ๋ชจ๋“  ์ •๋‹ต/์˜ˆ์ธก๋ฐ•์Šค๋“ค์— ๋Œ€ํ•ด์„œ Area Recall, Area Precision์„ ๋ฏธ๋ฆฌ ๊ณ„์‚ฐํ•ด๋ƒ…๋‹ˆ๋‹ค.



image


2) ๋ชจ๋“  ์ •๋‹ต ๋ฐ•์Šค์™€ ์˜ˆ์ธก ๋ฐ•์Šค๋ฅผ ์ˆœํšŒํ•˜๋ฉด์„œ, ๋งค์นญ์ด ๋˜์—ˆ๋Š”์ง€ ํŒ๋‹จํ•˜์—ฌ ๋ฐ•์Šค ๋ ˆ๋ฒจ๋กœ ์ •๋‹ต ์—ฌ๋ถ€๋ฅผ ์ธก์ •ํ•ฉ๋‹ˆ๋‹ค.


image

image

Recall, Precision, H-mean(F1 score)์„ ๊ตฌํ•ด๋ณด๋ฉด

ํ•ด๋‹น ์ด๋ฏธ์ง€์— ๋Œ€ํ•ด์„œ ์ตœ์ข…์ ์œผ๋กœ 0.92์ ์„ ๋ถ€์—ฌ


3) ๋ชจ๋“  ์ด๋ฏธ์ง€์— ๋Œ€ํ•˜์—ฌ Recall, Precision์„ ๊ตฌํ•œ ์ดํ›„, ์ตœ์ข… F1-Score์€ ๋ชจ๋“  ์ด๋ฏธ์ง€ ๋ ˆ๋ฒจ์—์„œ ์ธก์ • ๊ฐ’์˜ ํ‰๊ท ์œผ๋กœ ์ธก์ •๋ฉ๋‹ˆ๋‹ค.


ํ…Œ์ŠคํŠธ ์…‹ ๋ชจ๋“  ์ด๋ฏธ์ง€๋“ค์— ๋Œ€ํ•ด์„œ Recall, Precision๋กœ ์ ์ˆ˜๋ฅผ ๊ตฌํ•˜๊ณ  ํ‰๊ท ๋‚ด์–ด ์ตœ์ข… ์ ์ˆ˜๋ฅผ ๊ตฌํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

์˜ˆ) image1, image2 ๋‘๊ฐœ์˜ ํ…Œ์ŠคํŠธ ์ด๋ฏธ์ง€๊ฐ€ ์กด์žฌํ•˜๊ณ , ๊ณ„์‚ฐ์˜ ํŽธ์˜์„ฑ์„ ์œ„ํ•ด์„œ image1์€ ์œ„์˜ ์˜ˆ์‹œ์™€ ๋™์ผ, image2๋Š” ์ •๋‹ต/์˜ˆ์ธก๋ฐ•์Šค๊ฐ€ 1๊ฐœ์ด๊ณ  ๋งž์•˜๋‹ค๊ณ  ๊ฐ€์ •ํ•˜๊ณ  ๊ณ„์‚ฐํ•ด๋ณด๋ฉด

(๋ถ„๋ชจ๊ฐ€ 5์ธ ์ด์œ : image1์—์„œ ์ •๋‹ต/์˜ˆ์ธก๋ฐ•์Šค 4๊ฐœ, image2์—์„œ ์ •๋‹ต/์˜ˆ์ธก๋ฐ•์Šค๊ฐ€ 1๊ฐœ์ด๋ฏ€๋กœ)

ํ•ด๋‹น ํ…Œ์ŠคํŠธ ์…‹์—์„œ ์ตœ์ข… ์ ์ˆ˜๋Š” 0.94 ์ ์ด ๋˜๊ฒ ์Šต๋‹ˆ๋‹ค.


Working Directory

.
|-- OCR_EDA.ipynb
|-- config.py
|-- convert_mlt.py
|-- dataset.py
|-- detect.py
|-- deteval.py
|-- east_dataset.py
|-- examples
|   |-- README.md
|   |-- EDA
|   |   |-- annotation_visualization.py
|   |   `-- readme.md
|   |-- data
|   |   |-- 04170019_Annotation_Review.csv
|   |   |-- readme.md
|   |   |-- revise_annotation.ipynb
|   |   `-- revised_train.json
|   |-- polygon
|   |   |-- README.md
|   |   |-- anti_empty.json
|   |   `-- dataset.py
|   |-- textinthewild
|   |   |-- README.md
|   |   `-- titw2ufo.ipynb
|   `-- wandb_train
|       |-- README.md
|       |-- config.py
|       `-- wandb_train.py
|-- inference.py
|-- loss.py
|-- mk_ICDAR
|   |-- convert_mlt_mixpass17.py
|   |-- convert_mlt_mixpass19.py
|   |-- download17.sh
|   |-- download19.sh
|   |-- readme.md
|   |-- urls17.txt
|   `-- urls19.txt
|-- model.py
|-- readme.md
|-- requirements.txt
`-- train.py

๐Ÿ“ข Presentation

ํ•˜์ดํŒŒ์ดํ”„_๋ฐœํ‘œ์ž๋ฃŒ.pdf