Skip to content
Advertisement

Tag: image

How contour an image area with known coordinates?

I have an ultrasound image and the coordinates (array of x and y points) of the tumor of each image. How can I make a contour around the tumor with those known coordinates using cv.drawContours()? I wish to delete all the information around the tumor and stay only with the tumor image/information. I am getting this error: error Traceback (most

Understanding contour hierarchies: How to distinguish filled circle/contour and unfilled circle/contour in OpenCV?

I am unable to differentiate between the below two contours. cv2.contourArea() is giving the same value for both. Is there any function to distinguish them in Python? How do I use contour hierarchies to determine the difference? Answer To distinguish between a filled contour and unfilled contour, you can use contour hierarchy when finding contours with cv2.findContours(). Specifically, you can

Django 2.2 img’s not loading

I’m actually new to django and I found a problem when loading my images, I did the settings like the docs said and it saves my images to the right folder. Just the loading part does not work as I want it to. the upload is working as expected. Saves all images to the media folder (which is on the

Advertisement