摘要: # demo ```python from flask import Flask, render_template, request, jsonify app = Flask(__name__) @app.route('/', methods=['GET', 'POST']) def index() 阅读全文
posted @ 2023-08-22 20:20 __username 阅读(37) 评论(0) 推荐(0) 编辑
摘要: # demo ```python import torch import cv2 from PIL import Image # pt_path = r'E:\Code\Python\YoLov5\yolov5\yolov5s.pt' pt_path = r'E:\Code\Python\yolov 阅读全文
posted @ 2023-08-22 16:19 __username 阅读(321) 评论(0) 推荐(0) 编辑
摘要: # demo ## 图片转base64 ```python def image_to_base64(image_path): import base64 with open(image_path, "rb") as image_file: image_data = image_file.read() 阅读全文
posted @ 2023-08-22 16:13 __username 阅读(244) 评论(0) 推荐(0) 编辑
摘要: # 一个0到1的案例 后续会继续补充 > 环境python3.8.10 ## First - github下载项目:https://github.com/ultralytics/yolov5/tree/master - cd yolov5, pip install -r requirements.t 阅读全文
posted @ 2023-08-22 10:25 __username 阅读(176) 评论(0) 推荐(0) 编辑

本文作者:DIVMonster

本文链接:https://www.cnblogs.com/guangzan/p/12886111.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。