https://github.com/sayak119/captcha-solver
Captcha solver using YOLOv3
https://github.com/sayak119/captcha-solver
annotations bbox captcha darknet python3 yolov3
Last synced: 22 days ago
JSON representation
Captcha solver using YOLOv3
- Host: GitHub
- URL: https://github.com/sayak119/captcha-solver
- Owner: sayak119
- Created: 2019-05-01T21:31:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-01T22:33:25.000Z (about 7 years ago)
- Last Synced: 2025-12-27T14:32:04.231Z (6 months ago)
- Topics: annotations, bbox, captcha, darknet, python3, yolov3
- Language: Python
- Size: 16.3 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Captcha Solver
Captcha solver using **YOLO v3**. Has an accuracy of **98.166%** on the test dataset.
* The trained weights and config file can be found **[here](https://drive.google.com/open?id=1_OH7LXR82GEeDKAa7ntEuI_HpG0e3WkH)**.
* Save the trained final weights, yolov3 configuration file and captcha names file in a folder named data.
* The annotation of dataset is done manually using BBox Label Tool. We find the object's centre x and y coordinates and normalized width and height.
## Example of data annotation

| Object-d | x-coordinate | y-coordinate | width | height |
| ------------- |:-------------:| ------------: | ---------:|---------:|
| 0 | 0.285185 | 0.528571 | 0.111111 | 0.600000 |
| 0 | 0.396296 | 0.528571 | 0.111111 | 0.542857 |
| 0 | 0.500000 | 0.457143 | 0.111111 | 0.571429 |
| 1 | 0.607407 | 0.514286 | 0.118519 | 0.571429 |
| 2 | 0.725926 | 0.557143 | 0.118519 | 0.600000 |
## How to run the code
```python
python3 captcha-single.py --image test.jpg # replace with your image
python3 captcha.py #for running on images in test/Solved-600 folder
```