IPStream.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:serbian-alpr 作者: golubaca 项目源码 文件源码
def tst(self, frame, image):
        try:
            name = "/tmp/{}_{}.jpg".format(time.time(), self.camera_name)
            cv2.imwrite(name, frame)
        except Exception as e:
            print "snap:", e
            return False

        try:
            thread.start_new_thread(
                self.analize_plate.proccess,
                (image,
                 name,
                 self.camera_name,
                 self.image_location,
                 self.thumbnail_location))
        except:
            return False
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号