hi i have a project about License plate recognition ..
2 views (last 30 days)
Show older comments
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);
0 Comments
Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!