Ask Your Question

Revision history [back]

change this line maybe usefull: //cv::Mat blob = cv::dnn::blobFromImage(frame,1./255.,Size(300,300)); cv::Mat blob = cv::dnn::blobFromImage(frame,1.0, Size(300,300)); model is uint8 has no need to normalize.