Research Article
Modeling and Implementing Two-Stage AdaBoost for Real-Time Vehicle License Plate Detection
Procedure 2
Adaptive threshold (in, out,
,
).
| (1) for to do | | (2) sum ← 0 | | (3) for to do | | (4) sum ← sum + in | | (5) if then | | (6) intImg← sum | | (7) else | | (8) intImg← intImg + sum | | (9) end if | | (10) end for | | (11) end for | | (12) for to do | | (13) for to do | | (14) ← {border checking is not shown} | | (15) | | (16) | | (17) | | (18) count ← | | (19) sum ← intImg − intImg − intImg + intImg | | (20) if (in × count)_(sum × ()/100) | | (21) then out | | (22) else | | (23) out | | (24) end if | | (25) end for | | (26) end for |
|