deal_code.py 文件源码

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

项目:LoginSimulation 作者: Byshx 项目源码 文件源码
def _deal_image_(self):
        img = cv2.imread(self.totalpath, cv2.IMREAD_GRAYSCALE)
        img = self._remove_line_(img)
        result = self._split_word_(img)
        # ??????????????????
        if len(result) == 0:
            print '???????...'
            while len(result) == 0:
                if self._generate_image_():
                    img, result = self._deal_image_()
            print '?????????'
        return img, result
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号