hi i have a project about License plate recognition ..

2 vues (au cours des 30 derniers jours)
Dr thrax
Dr thrax le 22 Fév 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);

Réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by