mirror of
https://github.com/Motion-Project/motion.git
synced 2026-02-06 21:11:40 -05:00
Fix compiler signedness warnings
This commit is contained in:
@@ -168,7 +168,7 @@ static void algsec_image_label(ctx_dev *cam, Mat &mat_dst
|
||||
label = format("%s: %.4f"
|
||||
, (algmdl->dnn_classes.empty() ?
|
||||
format("Class #%d", classIdPoint.x).c_str() :
|
||||
algmdl->dnn_classes[classIdPoint.x].c_str())
|
||||
algmdl->dnn_classes[(uint)classIdPoint.x].c_str())
|
||||
, confidence);
|
||||
|
||||
putText(mat_dst , label, Point(0, 15)
|
||||
@@ -714,7 +714,7 @@ void algsec_detect(ctx_dev *cam)
|
||||
if (cam->algsec->detecting){
|
||||
cam->algsec->frame_missed++;
|
||||
} else {
|
||||
memcpy(cam->algsec->image_norm
|
||||
mymemcpy(cam->algsec->image_norm
|
||||
, cam->imgs.image_virgin
|
||||
, cam->imgs.size_norm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user