mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Merge pull request #1017 from jing-vision/master
Expose YOLODLL_API layer* get_network_layer(network* net, int i);
This commit is contained in:
@ -493,6 +493,11 @@ image get_network_image_layer(network net, int i)
|
||||
return def;
|
||||
}
|
||||
|
||||
layer* get_network_layer(network* net, int i)
|
||||
{
|
||||
return net->layers + i;
|
||||
}
|
||||
|
||||
image get_network_image(network net)
|
||||
{
|
||||
int i;
|
||||
|
@ -134,6 +134,7 @@ int resize_network(network *net, int w, int h);
|
||||
void set_batch_network(network *net, int b);
|
||||
int get_network_input_size(network net);
|
||||
float get_network_cost(network net);
|
||||
YOLODLL_API layer* get_network_layer(network* net, int i);
|
||||
YOLODLL_API detection *get_network_boxes(network *net, int w, int h, float thresh, float hier, int *map, int relative, int *num, int letter);
|
||||
YOLODLL_API detection *make_network_boxes(network *net, float thresh, int *num);
|
||||
YOLODLL_API void free_detections(detection *dets, int n);
|
||||
|
Reference in New Issue
Block a user