From 7d951a51153ee65ee9d12b3a6b296e5b03601ab6 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Tue, 28 Jun 2022 19:28:14 +0200 Subject: [PATCH] comment cleanup --- src/ext/lib/ar-detect/GuardLine.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ext/lib/ar-detect/GuardLine.ts b/src/ext/lib/ar-detect/GuardLine.ts index 54b34db..0326948 100644 --- a/src/ext/lib/ar-detect/GuardLine.ts +++ b/src/ext/lib/ar-detect/GuardLine.ts @@ -58,18 +58,13 @@ class GuardLine { } check(image){ - // izračunaj enkrat in shrani na objekt // calculate once and save object-instance-wide this.blackbarThreshold = this.aard.blackLevel + this.settings.active.arDetect.blackbar.threshold; this.imageThreshold = this.blackbarThreshold + this.settings.active.arDetect.blackbar.imageThreshold; - // dejansko testiranje // actual checks let guardLineResult = this.guardLineCheck(image); - // Zaznali smo kršitev črnega dela, zato nam ni treba preveriti, ali je slika - // prisotna. Vemo namreč, da se je razmerje stranic zmanjšalo. - // // blackbar violation detected. We don't even need to check for presence of image // as aspect ratio just decreased if(! guardLineResult.success) {