Compare commits

..

No commits in common. "3eae86cc700c40863e32be2ed39676c7a42dde67" and "31bc12373be762657b66f1a5853b1f7f0fc1cabe" have entirely different histories.

1 changed files with 4 additions and 3 deletions

View File

@ -64,9 +64,10 @@ namespace Marking.OCR.Service.Helper
public void Show(Mat mat, string title = "")
{
#if !DEBUG
if (!App.HostEnvironment.IsDevelopment())
{
return;
#endif
}
Cv2.ImShow(string.IsNullOrWhiteSpace(title) ? DateTime.UtcNow.ToString() : title, mat);
Cv2.WaitKey(0);