I'm trying to identify the parking spaces after cropping. Here is my code. Can anyone help me. Thanks in advance
I=imread('carsnew.jpg');
a=63; b=115;
for i=1:10
im=imcrop(I,[a,b,75,133]);
grayImage=rgb2gray(im);
binary=im2bw(grayImage);
figure,imshow(binary);
a=a+85;
end