当我运行./darknet检测器演示cfg / coco.data cfg / yolov4.cfg yolov4.weights -ext_output test.mp4时,究竟在运行什么?

问题描述

总体而言,我对编码非常陌生,对Darknet和yolo甚至更新。当我运行./darknet检测器演示cfg / coco.data cfg / yolov4.cfg yolov4.weights -ext_output test.mp4时,究竟发生了什么?我知道它采用名称,cfg和权重,但是究竟发生了什么? ./darknet检测器演示程序是否调用某个文件,该文件位于何处?另外,在哪里可以找到所有像-ext_output这样的标志?

编辑:我已经阅读了AlexeyAB darknet GitHub上的大多数文件,但是我仍然无法弄清楚。

解决方法

./darknet detector demo

它正在调用已编译的C代码,其中 detector 在src / detector.c中,而 demo 在src / demo.c中。 演示也是一种方法,您可以在这里找到 https://github.com/AlexeyAB/darknet/blob/master/src/demo.c#L133

您可以找到此处解释的大多数命令: https://github.com/AlexeyAB/darknet/#how-to-use-on-the-command-line