graduation-design/main.py
KYOSG 454381eb1c 1. 成功允运行了Yolo的分类模型,大体了解了使用方式
2. 成功运行了Gemini2摄像头
3. 成功将摄像头与Yolo模型整合运行
2024-02-26 23:04:32 +08:00

13 lines
207 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import cv2
import torch
def process_image(image):
# todo:使用OpenCV和Torch处理图像识别物体
pass
def get_object_coordinates(image):
# todo返回识别物体的坐标
pass