Hi Adam,
This is similar to extracting a class of objects from a binary image using properties.
Find the code below for detecting the scissors using area property: -
Img = imread('data.png'); % read original image
complementImg = imcomplement(Img); % complement image
grayImg = rgb2gray(complementImg); % convert to grayscale
binImg = imbinarize(grayImg); % binarize
% Extract scissors using area property
outImg = bwpropfilt(binImg, 'area', [1200 1500]);
% display original & output image
figure;
imshowpair(Img,outImg,'montage');
Output: -
Referring you to the following links, which might help you in understanding the code above: -https://www.mathworks.com/help/images/ref/imcomplement.htmlhttps://www.mathworks.com/help/matlab/ref/rgb2gray.htmlhttps://www.mathworks.com/help/images/ref/bwpropfilt.html
Regards,
Abhishek