(self)
Plate1 = HyperLPR_PlateRecogntion(image1)
        # print(Plate1[0][0])
        matchstr1 = Plate1[0][0]
        Plate2 = HyperLPR_PlateRecogntion(image2)
        # print(Plate2[0][0])
        matchstr2 = Plate2[0][0]
Plate1 = HyperLPR_PlateRecogntion(image1)
        # print(Plate1[0][0])
        matchstr1 = Plate1[0][0]
        Plate2 = HyperLPR_PlateRecogntion(image2)
        # print(Plate2[0][0])
        matchstr2 = Plate2[0][0]
Plate1 = HyperLPR_PlateRecogntion ( image1 ) # print ( Plate1 [ 0 ] [ 0 ] ) matchstr1 = Plate1 [ 0 ] [ 0 ] Plate2 = HyperLPR_PlateRecogntion ( image2 ) # print ( Plate2 [ 0 ] [ 0 ] ) matchstr2 = Plate2 [ 0 ] [ 0 ]
def match_pic(self):
        matchstr1 = self.match_path(self.pic_path)
        matchstr2 = self.match_path(self.pic_path2)
        '''Plate1 = HyperLPR_PlateRecogntion(image1)
        # print(Plate1[0][0])
        matchstr1 = Plate1[0][0]
        Plate2 = HyperLPR_PlateRecogntion(image2)
        # print(Plate2[0][0])
        matchstr2 = Plate2[0][0]'''
        if matchstr1==matchstr2:
            matchstr3 = "        车牌相符        "
        else:
            matchstr3 = "        车牌不符        "
        matchstr = matchstr1 + matchstr3 + matchstr2

        self.match.configure(text=str(matchstr))
        self.s1.set("")
        self.s2.set("")
        self.pic_path = ""
        self.pic_path2 = ""
def match_pic ( self ) : matchstr1 = self . match_path ( self . pic_path ) matchstr2 = self . match_path ( self . pic_path2 ) if matchstr1 == matchstr2 : matchstr3 = "        车牌相符        " else : matchstr3 = "        车牌不符        " matchstr = matchstr1 + matchstr3 + matchstr2 self . match . configure ( text = str ( matchstr ) ) self . s1 . set ( "" ) self . s2 . set ( "" ) self . pic_path = "" self . pic_path2 = ""