example

command
v0.0.0-...-e3940ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2025 License: MIT Imports: 20 Imported by: 0

README

使用示例

本目录包含 YOLO-Go 的使用示例代码。

示例文件

  • test_simple.go - 基本使用示例(图片检测)
  • test_gui_inputs.go - GUI界面示例(多输入源)
  • test_input_apis.go - API使用示例(各种输入源)

运行示例

# 基本示例
go run example/test_simple.go

# GUI示例
go run example/test_gui_inputs.go

# API示例
go run example/test_input_apis.go

注意事项

  • 确保已安装 FFmpeg
  • 确保 yolo12x.onnxdata.yaml 文件存在
  • 根据你的环境调整 ONNX Runtime 库路径

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL