First time here? Check out the FAQ!
change this line maybe usefull: //cv::Mat blob = cv::dnn::blobFromImage(frame,1./255.,Size(300,300)); cv::Mat blob = cv: