generated from UnknownObject/PublicRepoDemo
Compare commits
4
Commits
c8f9d36fbb
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47052c15ef | ||
|
|
1a937ae790 | ||
|
|
c5ce4d1f6d | ||
|
|
f135c433ba |
@@ -25,6 +25,7 @@ class OCR:
|
|||||||
license_plate = ""
|
license_plate = ""
|
||||||
for res in result:
|
for res in result:
|
||||||
license_plate += res[-2] # 如果车牌号码是两行的,按行识别出来再拼接起来
|
license_plate += res[-2] # 如果车牌号码是两行的,按行识别出来再拼接起来
|
||||||
|
license_plate = cls.SwapChars(license_plate)
|
||||||
if lpr_text is not None:
|
if lpr_text is not None:
|
||||||
license_plate = lpr_text
|
license_plate = lpr_text
|
||||||
if '\u8b66' in license_plate:
|
if '\u8b66' in license_plate:
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user