摘要:
Windows系统适用 创建一个批处理文件(例如 start_flask_api.bat),内容如下: @echo off cd /d C:\path\to\your\flask\app //你要启动程序的路径 python app.py//你要启动的程序 将批处理文件添加到 Windows 的启动 阅读全文
摘要:
话不多说,上代码 from flask import request, jsonify from functools import wraps class TokenRequired: @classmethod def token_required(cls, f): @wraps(f) def de 阅读全文
摘要:
安装需要的包 # pip install pytesseract # pip install Pillow # 安装OCR环境 # 下载exe安装文件 # https://digi.bib.uni-mannheim.de/tesseract/ # 下载需要的版本,安装时下载需要的语言 # 安装完成后 阅读全文