vendredi 22 juillet 2016

copy past objet in python opencv2

i have this image enter image description here

i already have the contour of the bullet shape using

contours, hierarchy = cv2.findContours(thresh,cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_SIMPLE)

but now i would like to extract the bullet from the image and past it on another blank image, choosing the coordinates i would like. any idea ?

thx a lot

Aucun commentaire:

Enregistrer un commentaire