hi i have a project about License plate recognition ..

2 Ansichten (letzte 30 Tage)
Dr thrax
Dr thrax am 22 Feb. 2014
Bearbeitet: Walter Roberson am 22 Feb. 2014
my project deals only with video sequences taken at night .. i wrote this code to choose a rectangular object from many.. but the problem is that the centroid is sometimes a black pixel and the whole image disappear ... i want a method to choose objects instead of centroid
CODE :
for i=1:numobjects
bo=info(i).BoundingBox;
ratio=(bo(4)/bo(3));
if ratio > option.loc_ratio_value
cen=info(i).Centroid;
c(end+1)=cen(1);
r(end+1)=cen(2);
also in Euler:
for i=1:numobjects
e=info(i).EulerNumber;
if e<option.loc_EulerNum
cen=info(i).Centroid;
c(end+1)=cen(1);
r(end+1)=cen(2);

Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by