Files
go-darknet/network.h
2020-02-21 15:47:21 +03:00

11 lines
333 B
C

#pragma once
#include <darknet.h>
struct network_box_result {
detection *detections;
int detections_len;
};
extern int get_network_layer_classes(network *n, int index);
extern struct network_box_result perform_network_detect(network *n, image *img, int classes, float thresh, float hier_thresh, float nms, int letter_box);