Skip to content Skip to sidebar Skip to footer
Showing posts with the label Opencv

Opencv Image Manipulation To Crop An Angled Section Of An Image In Python

I am trying to crop a portion of an image as shown below using opencv / PIL . I want to crop the re… Read more Opencv Image Manipulation To Crop An Angled Section Of An Image In Python

Problem With Opencv And Python

I'm new to python and Opencv and I tried to put in the following code to save an image to my co… Read more Problem With Opencv And Python

Opencv3: Not Getting The Expected Output On Morphologically Transforming An Image In Opencv

I am trying to do top hat morphological transformation to an image but not getting the expected out… Read more Opencv3: Not Getting The Expected Output On Morphologically Transforming An Image In Opencv

Ellipse Detection In Opencv Python

My image is here: i'm looking for a better solution or algorithm to detect the ellipse part (d… Read more Ellipse Detection In Opencv Python

Python Multiprocess Can't Pickle Opencv Videocapture Object

I am trying to create a independent process to handle my image acquire from camera. But multiproces… Read more Python Multiprocess Can't Pickle Opencv Videocapture Object

How To Resize Window In Opencv2 Python

I am using opencv 2 with a webcam. I can get the video stream and process it, but I can't seem … Read more How To Resize Window In Opencv2 Python

Extract Frames From Video Into Specific Folder

I want to extract frames from 3 videos into 3 different folder. Each folder has the frames of their… Read more Extract Frames From Video Into Specific Folder

Finding Edge In Tilted Image With Canny

I'm trying to find the tilt angle in a series of images which look like the created example dat… Read more Finding Edge In Tilted Image With Canny

Python: Find Amount Of Handwriting In Video

Do you know of an algorithm that can see that there is handwriting on an image? I am not interested… Read more Python: Find Amount Of Handwriting In Video

Opencv Python Error: Assertion Failed (size.width>0 && Size.height>0)

I am getting an error while running the following code. import cv2 import numpy as np img = cv2.imr… Read more Opencv Python Error: Assertion Failed (size.width>0 && Size.height>0)

How To Write On Video With Cv2 And Mtcnn? I'm Facing Problems With Fourcc

I'm trying to write a script that anonymized faces on videos. here is my code (python): import … Read more How To Write On Video With Cv2 And Mtcnn? I'm Facing Problems With Fourcc

Opencv For Python 3.x Under Windows

I've been searching around the Internet for a while but I have not been able to find detailed i… Read more Opencv For Python 3.x Under Windows

Save Prediction To Json Or Txt File And Also Save Output Video File In Yolov3 Object Detection - Google Colab

Object detection on https://github.com/AlexeyAB/darknet/ is working and the output is saved to an .… Read more Save Prediction To Json Or Txt File And Also Save Output Video File In Yolov3 Object Detection - Google Colab

Opencv 3.2 With Python 3 Videocapture Changes Settings Of V4l2

I worked with OpenCV 3.2 with Python3 and SBC OXU4. I have a true 5MPx web-camera connected to SBC.… Read more Opencv 3.2 With Python 3 Videocapture Changes Settings Of V4l2

How To Remove Border Components In Python 2.7 Using Opencv

I want to remove the components which are touching the border of the image. I'm using OpenCV 2… Read more How To Remove Border Components In Python 2.7 Using Opencv

Count Number Of Cells In The Image

I need code for counting the number of cells in the image and only the cells that are in pink color… Read more Count Number Of Cells In The Image

How To Decode Jpg Image From Memory?

I can read a jpg image from disk via PIL, Python OpenCV, etc. into a numpy array via some built-in … Read more How To Decode Jpg Image From Memory?

How To Find The Area Of An Ellipse Obtained Using Cv.fitellipse(contour)?

I'm obtaining the an ellipse by using ellipse = cv2.fitEllipse(cnt). It returns a tuple of 3 el… Read more How To Find The Area Of An Ellipse Obtained Using Cv.fitellipse(contour)?

Splitting Very Large Images Into Overlapping Boxes/blocks/tiles/sections, Python, Opencv

I have very large images 10k by 10k that i need to split into overlapping boxes as shown below. Id … Read more Splitting Very Large Images Into Overlapping Boxes/blocks/tiles/sections, Python, Opencv

Opencv Python Pixel-by-pixel Loop Is Slow

I'm trying to compare every pixel's hue value with a threshold given. If the pixel's hu… Read more Opencv Python Pixel-by-pixel Loop Is Slow