Skip to content

yfq512/ImageReview-SensitiveWordDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

介绍

该项目可以识别本地图像上的文字是否违规

环境

该项目基于 https://github.com/chineseocr/darknet-ocr ,需要开启这个项目的docker镜像服务

展示

原图: 结果:

目录结构

.
├── 1.jpg
├── README.md
├── pycache
│   └── keywords_fit.cpython-37.pyc
├── darknet-ocr.tar
├── keywords.txt
├── keywords_fit.py
├── main.py
└── result.jpg

运行

开启docker镜像服务: docker run -it -p 8080:8080 darknet-ocr:1.0 python app.py
运行: main.py

说明

keywords.txt 内容不宜,需要自己组织数据,每行放一个敏感词汇
示例用的是手写字体,效果有时会不准,如果换成计算机字体,识别率会更高

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages