修改
This commit is contained in:
parent
00f4b9c95d
commit
3f9d951e80
@ -93,7 +93,7 @@ namespace HisenceYoloDetection
|
|||||||
}
|
}
|
||||||
Cv2.Resize(thr1, thr1, new Size(550, 270));
|
Cv2.Resize(thr1, thr1, new Size(550, 270));
|
||||||
Cv2.Resize(thr2, thr2, new Size(550, 270));
|
Cv2.Resize(thr2, thr2, new Size(550, 270));
|
||||||
|
DateTime dt= DateTime.Now;
|
||||||
string filename = dt.Year.ToString() + dt.Month.ToString() + dt.Day.ToString() + dt.Hour.ToString() + dt.Minute.ToString() + dt.Millisecond.ToString();
|
string filename = dt.Year.ToString() + dt.Month.ToString() + dt.Day.ToString() + dt.Hour.ToString() + dt.Minute.ToString() + dt.Millisecond.ToString();
|
||||||
|
|
||||||
string savePath4 = Path.Combine(saveDir, Path.GetFileNameWithoutExtension(path1) + filename + "_thr1.png");
|
string savePath4 = Path.Combine(saveDir, Path.GetFileNameWithoutExtension(path1) + filename + "_thr1.png");
|
||||||
|
Loading…
Reference in New Issue
Block a user