当前位置:   article > 正文

车牌识别系统论文python_毕业设计 python opencv实现车牌识别 界面

车牌自动识别系统毕业设计

#-*- coding: utf-8 -*-

__author__ = '樱花落舞'

importtkinter as tkfrom tkinter.filedialog import *

from tkinter importttkimportimg_function as predictimportcv2from PIL importImage, ImageTkimportthreadingimporttimeimportimg_mathimporttracebackimportdebugimportconfigfrom threading importThreadclassThreadWithReturnValue(Thread):def __init__(self, group=None, target=None, name=None, args=(), kwargs=None, *, daemon=None):

Thread.__init__(self, group, target, name, args, kwargs, daemon=daemon)

self._return1=None

self._return2=None

self._return3=Nonedefrun(self):if self._target is notNone:

self._return1,self._return2,self._return3= self._target(*self._args, **self._kwargs)defjoin(self):

Thread.join(self)returnself._return1,self._return2,self._return3classSurface(ttk.Frame):

pic_path= ""viewhigh= 600viewwide= 600update_time=0

thread=None

thread_run=False

camera=None

color_transform= {"green": ("绿牌", "#55FF55"), "yello": ("黄牌", "#FFFF00"), "blue": ("蓝牌", "#6666FF")}def __init__(self, win):

ttk.Frame.__init__(self, win)

frame_left=ttk.Frame(self)

frame_right1=ttk.Frame(self)

frame_right2=ttk.Frame(self)

win.title("车牌识别")

win.state("zoomed")

self.pack(fill=tk.BOTH, expand=tk.YES, padx="10", pady="10")

frame_left.pack(side=LEFT, expand=1, fill=BOTH)

frame_right1.pa

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/732139
推荐阅读
相关标签
  

闽ICP备14008679号