OpenCV 3: Object detection in python
Is there a way to detect object using `OpenCV 3` in python? Once the object is detected I want to perform some task. I have referred few links but no luck yet. This...
View Articlewhile running face detection code in python open followin error comes
Traceback (most recent call last): File "E:/python program/s1.py", line 10, in frame = cv2.resize(frame, None, fx=scaling_factor, fy=scaling_factor, interpolation=cv2.INTER_AREA) error:...
View Articlewhat does this error message means?
hello. Im trying to make a face detection from live video feed using haar cascade by using this code: import cv2 import sys faceCascade =...
View ArticleHow can I modify the edge detection method for the HoughCircles function?
I'm currently using the HoughCircles function in Python OpenCV to detect and measure the radii of some silica microsphere images. However, the detection rate isn't as high as I would like. I've tried...
View Article[Pylint] E1101:Module 'cv2' has no 'SimpleBlobDetector' member
Hi, I received the following errors in a pip install of OpenCV in Ubuntu 16.04 using Microsoft Visual Studio [Pylint] C0103:Invalid constant name "detector" [Pylint] E1101:Module 'cv2' has no...
View ArticleError with stereocalibrate function in python
Hi all ! I have a problem with the stereocalibrate function in python although calibrateCamera works well with the same structure of data (e.g. list of numpy arrays). The error is a system error : "...
View ArticleFACE_RECOGNITION MODULE WAS NOT INSTALLED PLEASE HELP ME TO INSTALL THIS MODULE
C:\Users\DEVI>pip install face_recognition Collecting face_recognition Using cached face_recognition-0.1.14-py2.py3-none-any.whl Collecting dlib>=19.3.0 (from face_recognition) Using cached...
View ArticleFace detection not working on specific image
I am using the haarcascade_frontalface_default.xml classifier to detect faces in python 3 on Windows 7 with OpenCV 3.1.0 using the following code: import cv2 import sys classifier =...
View ArticleIs it possible to turn this c++ code into python code?
int main() { cv::Mat color = cv::imread("../houghCircles.png"); cv::namedWindow("input"); cv::imshow("input", color); cv::Mat canny; cv::Mat gray; /// Convert it to gray cv::cvtColor( color, gray,...
View ArticleCreating a mask from WKT multipolygons using openCV and tiff libraries?
I'm trying to create a binary mask from a WKT multipolygon which is a csv file with python openCV, shapely and tiff libraries in Jupiter Notebook. There's also another csv file that contains Xmax and...
View ArticleI am working on face recognition.My codes worked fine and now the same codes...
I am working on face recognition.My codes worked fine and now the same codes are giving these errors. PLEASE HELP ME !! THANK YOU OpenCV => 2.4. Operating System / Platform => ubuntu 16.04...
View ArticleObject Measurement using OpenCV and Raspberry Pi with Python
Hi! I am a school student and I am completely new to OpenCV with python. I want to do Object Measurement using OpenCV and Raspberry Pi as my final project. To start with, what is the best site to...
View ArticleLooking for a thinning/skeletonizing algorithm with opencv in python.
Currently I am implementing the zhang-suen method but my images are 300 ppi and it takes a couple of minutes. Can someone point me in the right direction. I need the skeleton to be connected and there...
View ArticleSend cv::Mat from c++ to python
Hi I have created a c++ code that reads GIGE camera image using its sdk and converted it into cv::Mat. Now I have wrapped this code to use it in python but i dont know how to return Mat object to...
View ArticleProblem with installing Python libraries on MAC
 Hi guys! I am new here! Can you please help me out :) I am trying to install Python libraries on my MAC OSX ! I am getting **"No module named...
View Articlepython opencv sliding window issue
Am making use of sliding/rolling window technique to devide the input image into equal chunks of given size so for that am making use of following function to devide image into specified window size....
View ArticleGaining high frame rate from ELP camera (python)
I'm using an ELP USB camera that is supposedly rated at 100fps at 640x480 quality but I don't seem to be getting anywhere near that frame rate. I was wondering if anyone has used an ELP camera with...
View ArticleUnsupported format or combination of formats
Hello, below is my whole python code. I am running opencv 2.4.13 import cv2 import numpy as np MIN_MATCH_COUNT=30 detector=cv2.ORB() FLANN_INDEX_KDITREE=0...
View ArticleLooking for a way to select distinct feature from an object and count them....
I am looking to count the number of little circles or ovals on the lines. I am relatively new to opencv so I am open to any suggestions that get me started thank you. This is the image....
View ArticleError with cv2.CascadeClassifier() using Trained Classifier
The below code runs fine when 'cascade.xml' is replaced with the 'haarcascade_frontalface_default.xml' classifier included with opencv. However, it throws this error using the cascade.xml file I...
View Article