This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import os | |
| from PIL import Image, ImageDraw, ImageFont | |
| import pyocr | |
| import pyocr.builders | |
| def read_clients_number(image_dir, num_list, left, top, width, height, ext='png'): | |
| clients_file = '{}/clients.csv'.format(image_dir) |
OlderNewer