2016-02-26 08:50:55 -0600 | commented question | How to extract the object on white paper? hi i tried the code already. It just says my image is not quadrilateral and it ends up. Thank you |
2016-02-26 00:35:33 -0600 | asked a question | How to extract the object on white paper? I am new to OpenCV. Firstly, an object is placed on a white paper and then a photo is taken using a robot camera. At the next step, I am trying to extract the object placed on a white paper using OpenCV (find contour and draw contour). I would like to use this object then for my robot project. Example image: This is the code I tried: int main(int argc, char* argv[]){ } This draws the contour for all the objects in the photo. But how can I extract just the object on the white paper? For instance in this image: I want just to crop the card from the image but I have no idea how to proceed. Can anyone help me out? |