From a69ba30600bf45b30cdb59fe352520a3062d40d8 Mon Sep 17 00:00:00 2001 From: DucDangAnh Date: Fri, 19 Jun 2020 16:25:57 +0700 Subject: [PATCH] PlateProcessor - DetectPlateAndDoOcrEngineAsync: Remove Resizing plateDetected --- AIParkingApplication/PlateProcessor.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/AIParkingApplication/PlateProcessor.cs b/AIParkingApplication/PlateProcessor.cs index 74157ac..c1b5136 100644 --- a/AIParkingApplication/PlateProcessor.cs +++ b/AIParkingApplication/PlateProcessor.cs @@ -34,9 +34,6 @@ namespace AIParkingApplication { Mat plateDetected = plateType == PlateType.Square ? squarePlateDetector.DetectPlate(frame) : longPlateDetector.DetectPlate(frame); - //TODO: check size before resizing - Cv2.Resize(plateDetected, plateDetected, new OpenCvSharp.Size(272, 272)); - //TODO: Check if plateDetected empty OcrResult plateOcrResultFromEngine = await Util.SendEngineRequestAsync(plateDetected, plateType); Bitmap finalPlateImage;