ナンバープレート認識業界はすでに一定の市場規模を持っており、電子警察、高速道路バヨネット、駐車場、経営管理、自動車修理サービスなどの分野でいくつかのアプリケーションを実現しています。
import glob
# Contains all .txt files except our listof classes
txt_files = [file for file inglob.glob('images/*.txt') if file != 'images/classes.txt']
# Read every .txt file and store it'scontent into variable curr
for file in txt_files:
with open(file, 'r') as f:
curr = f.read()
# Replace class index 15 with 1 and storeit in a variable new
new = curr.replace('15 ', '1 ')
# Once again open every .txt file and makethe replacement
for file in txt_files:
with open(file, 'w') as f:
f.write(new)
効果画像:
エフェクトビデオ:
yolov5に基づくPythonナンバープレートの位置と認識のビデオと写真
ダウンロードリンク:
YOLOV5に基づくPythonのナンバープレートの場所と認識ソースコードは、ビデオと写真を識別できます-インターネットドキュメントリソース-CSDNダウンロード