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

Matplotlib: Importerror: Cannot Import Name 'pyplot'

I have matplotlib lib installed using pip but when I run this code it gives me this error: shar@sha… Read more Matplotlib: Importerror: Cannot Import Name 'pyplot'

Making A Video With Opencv And Ffmpeg. How To Find The Right Color Format?

I have a webcam video recorder program built with python, opencv and ffmpeg It works ok except that… Read more Making A Video With Opencv And Ffmpeg. How To Find The Right Color Format?

Automatically Detecting Image And Video Files For Further Processing

So I want to write a script which I only give a path to either a folder or a file, and it will then… Read more Automatically Detecting Image And Video Files For Further Processing

Gtk-warning **: Cannot Open Display:

I am using Data science toolbox running ubuntu 14.04 through vagrant in windows. I installed OpenCV… Read more Gtk-warning **: Cannot Open Display:

Return Boolean From Cv2.inrange() If Color Is Present In Mask

I am making a mask using cv2.inRange(), which accepts an image, a lower bound, and an upper bound. … Read more Return Boolean From Cv2.inrange() If Color Is Present In Mask

How To Blackout The Background Of An Image After Doing Contour Detection Using Open In Python?

I've detected contours for an image using opencv python,now I should blackout the image outside… Read more How To Blackout The Background Of An Image After Doing Contour Detection Using Open In Python?

Calculate Angle Of Rotation Image Wrt Another Image

I am developing an application which processes cheques for banks. But when the bank's image of … Read more Calculate Angle Of Rotation Image Wrt Another Image

Activating Environment In Virtualenvwrapper

i installed virtualenv and virtualenvwrapper and with this command i created an environment: mkvirt… Read more Activating Environment In Virtualenvwrapper

How To Correctly Use Peopledetect.py In Opencv?

I'm newbie of opencv and I have real need for detecting people/human within some images, I fi… Read more How To Correctly Use Peopledetect.py In Opencv?

Copy Cut Out Of An Image To A New Image Using Numpy Or Opencv

Is it possible to copy only a specific region from an image and paste it to another image using eit… Read more Copy Cut Out Of An Image To A New Image Using Numpy Or Opencv

Save Images In Loop With Different Names

I have a problem with saving cropped images in a loop. My code: def run(self, image_file): pri… Read more Save Images In Loop With Different Names

Failed To Convert Tensorflow Frozen Graph To Pbtxt File

I want to extract pbtxt file given an input of tensorflow frozen inference graph. In order to do th… Read more Failed To Convert Tensorflow Frozen Graph To Pbtxt File

Opencv(4.0.0) Python Error: (-215:assertion Failed) (mtype == Cv_8u || Mtype == Cv_8s) && _mask.samesize(*psrc1) In Function 'cv::binary_op'

I am trying to apply mask on an image using opencv bitwise-not. I am able to achieve this result if… Read more Opencv(4.0.0) Python Error: (-215:assertion Failed) (mtype == Cv_8u || Mtype == Cv_8s) && _mask.samesize(*psrc1) In Function 'cv::binary_op'

Detecting Simple Geometric Shapes Using Opencv [java]

I'm programming a Java application that detects simple geometric shapes. The following Python c… Read more Detecting Simple Geometric Shapes Using Opencv [java]

Turning Circle Into Square. Solved: Squircle Package

OpenCV / Python related: Given a photo of a round object, how can you output that object flattened,… Read more Turning Circle Into Square. Solved: Squircle Package

Why Does Opencv Store A File Larger(kb) Than The Original?

I have code that loads and saves the image in two different ways - first using openCV, the second u… Read more Why Does Opencv Store A File Larger(kb) Than The Original?

Install Opencv Via Pip On Python 3.5 64-bit

I tried to install OpenCV, and I couldn't find any suitable pip packages for it. I decided to l… Read more Install Opencv Via Pip On Python 3.5 64-bit

Python Cv2 Color Space Conversion Fidelity Loss

Observe the following image: Observe the following Python code: import cv2 img = cv2.imread('r… Read more Python Cv2 Color Space Conversion Fidelity Loss

Houghcircles Circle Detection Using Opencv And Python-

I am trying to use OpenCV's (Hough)Circle detection to.. detect circles. I created a solid circ… Read more Houghcircles Circle Detection Using Opencv And Python-

Python Opencv, Only Read Part Of Image

I have thousands of large .png images (screenshots). I'm using opencv to do image recognition … Read more Python Opencv, Only Read Part Of Image