I am getting an Index out of range Error. I am retreiving the names from...
import cv2 from playsound import playsound import numpy as np import os import time,sys import sqlite3 from openpyxl import Workbook, load_workbook from openpyxl.utils import get_column_letter,...
View ArticleDifferentiate between a face and a photo of a face using static images.
Is there any way to extract features from an image that can help me distinguish between the two. I'm trying to accomplish this without making an ML model.
View ArticleDetect borders from a framed image that isnt aligned.
The borders can be skewed and need not be perfectly vertical/horizontal and could be covering the image partially. The idea is to automatically detect the presence of such borders.
View ArticleIndustrial GigE camera with OpenCV
Hello everyone! I've delevoped a real-time object detection and counting solution for an industrial application. To validate the method, we've used just a webcam, with YOLOV3 and OpenCV (to capture...
View Articlecv.detail.BestOf2NearestRangeMatcher_create() missing
cv.detail.BestOf2NearestRangeMatcher_create(), used in [stitching_detailed.py](https://github.com/opencv/opencv/blob/master/samples/python/stitching_detailed.py) seems missing from OpenCv4.2. Line...
View ArticleValidate if object is completely in the image frame
Is there a way to check if any object of interest lies completely inside the frame of an image/video. The object should not be partially present in the frame but it should be 100% visible.
View ArticleExtract ellipse shape food plate from image through Python
 The idea is to extract the plate which is in the shape of an ellipse. I tried the HoughCircles method from OpenCV but it only works for perfect...
View ArticleThe window that opend by flag cv::WINDOW_AUTOSIZE is resized
I got some trouble in window matter. I opened some window to show image init, and i tried resize. I know that window opened by flag `cv::WINDOW_AUTOSIZE` is can't be resize, but in my PC, it resized. I...
View ArticleUnable to train images using LBPH algorithm OpenCV
I am trying to train images for facial recognition but i am getting error while doing so. I have posted the question in stack overflow at following link: https://stackoverflow.com/q/60756692/12946806 a...
View ArticleNeed find Convex Hull in Python for already found Convex Hull point , draw...
Below is my program, I am trying to find the Convex Hull of the image and send that convex Hull points again to OpenCV Convex Hull to find the outermost Convex Hull of it . import cv2 import numpy as...
View ArticleNeed find Convex Hull in Python for already found Convex Hull point , draw...
Below is my program, I am trying to find the Convex Hull of the image and send that convex Hull points again to OpenCV Convex Hull to find the outermost Convex Hull of it . import cv2 import numpy as...
View ArticleThis is a code for recognition of faces and attendance marking. I get the...
The Errror is:- Traceback (most recent call last): File "C:\Users\ACER\Desktop\PROJECT ALL RESOURCE\PROJECT ALL RESOURCE\Implementation\PYTHON FILES\facerecognition.py", line 73, in (J.left(),...
View ArticleAgricultural field boundary segmentation and delineation
Hi, I'm looking for a method to segment cultivated fields quite accurately using satellite images. I initially tried edge delimitation but I don't think this can be converted to shapefile later so I'm...
View ArticleInput video capture ffmpeg flags (OpenCV-Python)
Hello, I'm trying to figure out how to pass FFMPEG flags to the VideoCapture function. From what I can see, there are no hooks for this in the python library. I'm trying to pass a h264 stream to...
View ArticleOpenCV DNN with CUDA built from source (for arch bin < 5.3)
Hello, I'm trying to use my old gaming rig (3770K + GTX780) with OpenCV for home monitoring. I'm trying to feed my camera's h264 stream into OpenCV, detect objects (people, cars, etc), determine if...
View ArticleComplied from source - ubuntu/python - error librsvg-2.so.2: undefined...
I've complied from source with the following cmake setitngs > cmake > -D CMAKE_BUILD_TYPE=RELEASE > -D INSTALL_PYTHON_EXAMPLES=ON > -D INSTALL_C_EXAMPLES=OFF > -D...
View Articleimread working in py but working in ipynb
Hello everyone, I have a problem with the `imread` function. The code that I'm running is the following : import cv2 image = cv2.imread("T.jpg") cv2.imshow("test", image) cv2.waitKey(0)...
View Articlemodule 'cv2' has no attribute 'xfeatures2d'
* system: ubuntu18.04 jetson nano armv8 * nvcc 10.0 cuda 10.0 * gcc 7.5.0 more information please lookup [github issue](https://github.com/opencv/opencv_contrib/issues/2481), the code in the opencv...
View ArticleProjecting points onto image generated by warpPerspective
I am working on a project that uses an external program to stitch multiple images together into a single mosaic image using several types of transformations to achieve the best approximation of a...
View Articleopencv kalman filter(python) problem when no detection
Hi, when I am trying to use the opencv Kalman Filter to track a target. My initial setup is as below: deltaTime = 1/30 #time approximately for a single frame state = np.zeros((4, 1), np.float32)...
View Article