https://github.com/zyddnys/dragon-pic-detect
龙图检测
https://github.com/zyddnys/dragon-pic-detect
Last synced: 6 months ago
JSON representation
龙图检测
- Host: GitHub
- URL: https://github.com/zyddnys/dragon-pic-detect
- Owner: zyddnys
- License: mit
- Created: 2021-04-26T19:20:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-12T03:01:28.000Z (over 4 years ago)
- Last Synced: 2025-03-27T23:41:52.763Z (7 months ago)
- Language: Python
- Size: 64.5 KB
- Stars: 54
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Detecting Dragons

# How to use
First download all `template*.png`
```python
import cv2
from detect_sift import DragonDetector # or DragonDetectorFast
det = DragonDetector()
img = cv2.imread('test.png')
if det.is_dragon(img) :
print('龙')
else :
print('正常')
```
# Performance
Tuned for zero false positive.
## DragonDetector
2.4 images/sec
| Confusion matrix | Positive | Negative |
|----------|:-------------:|------:|
| Positive | 38 | 20 |
| Negative | 0 | 194 |
## DragonDetectorFast
37.45 images/sec
| Confusion matrix | Positive | Negative |
|----------|:-------------:|------:|
| Positive | 32 | 26 |
| Negative | 0 | 194 |