本项目是一个基于.NETFramework4.7.2和ONNX Runtime的目标检测桌面应用程序。该应用利用RF-DETR模型对图像进行目标检测,并在图像上绘制检测框和标签。

git clone <repository-url>项目使用以下主要NuGet包:
可以通过Visual Studio自动还原包或使用NuGet CLI:
nuget restore FIRC.sln在Visual Studio中打开[FIRC.sln](file:///C:/Users/Administrator/Downloads/FIRC/FIRC.sln)解决方案文件,设置为"x64"平台和"Debug"或"Release"配置,然后构建项目。
或者使用命令行构建:
msbuild FIRC.sln /p:Configuration=Debug /p:Platform=x64应用支持检测以下80个类别: person, bicycle, car, motorbike, aeroplane, bus, train, truck, boat, traffic light, fire hydrant, stop sign, parking meter, bench, bird, cat, dog, horse, sheep, cow, elephant, bear, zebra, giraffe, backpack, umbrella, handbag, tie, suitcase, frisbee, skis, snowboard, sports ball, kite, baseball bat, baseball glove, skateboard, surfboard, tennis racket, bottle, wine glass, cup, fork, knife, spoon, bowl, banana, apple, sandwich, orange, broccoli,carrot, hot dog, pizza, donut, cake, chair, sofa, pottedplant, bed, diningtable, toilet, tvmonitor, laptop, mouse, remote, keyboard, cell phone, microwave, oven, toaster, sink, refrigerator, book, clock, vase, scissors, teddy bear, hair drier, toothbrush
FIRC/
├── FIRC.csproj # 项目文件
├── Program.cs # 程序入口点
├── Form1.cs # 主窗体逻辑
├── Form1.Designer.cs # 主窗体设计器
├── RFDetrManager.cs # RF-DETR模型管理器
├── weights/ # 模型和标签文件
│ ├── rf-detr-nano.onnx # ONNX模型文件
│ └── labels.txt # 类别标签文件
└── packages/ # NuGet包这是项目的核心类,负责: