Add function to download weigths if do no exist, for each test. Add some controls in map demo.

Signed-off-by: Francesco Gatti <gattifrancesco@hotmail.it>
This commit is contained in:
Francesco Gatti
2020-03-14 17:02:07 +01:00
parent 01995abdf8
commit 21b8146232
16 changed files with 51 additions and 2 deletions
+2
View File
@@ -14,6 +14,8 @@ int main() {
tk::dnn::Yolo *yolo [3];
#include "models/Yolo3.h"
downloadWeightsifDoNotExist(input_bin, bin_path, "https://cloud.hipert.unimore.it/s/o5cHa4AjTKS64oD/download");
// fill classes names
for(int i=0; i<3; i++) {
yolo[i]->classesNames = {"person", "car", "truck", "bus", "motor", "bike", "rider", "traffic light", "traffic sign", "train"};