hi i have a project about License plate recognition ..

2 visualizzazioni (ultimi 30 giorni)
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);

Risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by