Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 2088 articles
Browse latest View live
↧

What does these steps mean about Hellinger kernel?

It's about digit recogntion and HOG.I am a beginner about them,can anyone tell the meaning of these codes?Thank you so much.Just below '# transform to Hellinger kernel'.Why the vector should be treated...

View Article


OpenCV build for Windows x64/Python3.7 from source. Where is the .pyd file?

CMake is AFAICT correctly configured and producing the usual .DLL files in build/bin/Debug (as that is the configuration I'd like). The settings for Python3 have the correct directories and BUILD_XXX...

View Article


Take 2: Building cv2_xxx.pyd for Windows x64/Python3.7

I've tried to simplify replicating this issue by using the command line version of cmake and the configuration script that can be found here. It is about as simple as possible. There are no obvious...

View Article

Cuda ORB keypoints

I have a little experience with OpenCV (Python) and just received a Jetson Nano and want to test OpenCV with CUDA. So I tried an ORB-example but am stuck with converting GPU-Keypoints to CPU-Keypoints,...

View Article

Multiple concurrent detections using a single net

Hi, is it possible to load a single network via `cv2.dnn.readNet(weights_file_abs_path, config_file_abs_path)` and run multiple detections at one time? I have a situation where I am implementing an ML...

View Article


How to crop rectangles from a image with opencv

i have this code, i need to crop each rectangle from the next images but in some cases this code doesn't work: import cv2 import os import pytesseract from PIL import Image lista =...

View Article

Different result between Python and Android

Hi everyone, I am trying to use a Pytorch model on Android and to do so, I am using OpenCv to do the pre processing. My pre processing is composed of 3 steps: - greyscaling - resizing - normalize...

View Article

How to set and get brightness of camera using PyQt

Hi, I have been trying to set and get brightness value of webcam when i press button. I want to set brightness then read it. When i read brightness it prints 0.0 which is not the actual value. And...

View Article


cv2.cvtColor causes to stop Python

I am using PyQT,Python and OpenCV. I want to find contours. So i need to convert image to 1 channel (greyscale). Image is on the HSV color-space. First, i convert it from HSV channel to RGB using gray...

View Article


Number of circles in region of interest

I want to be able to count the number of circles in areas of interest, but I am new to python and don't know how to do it. Any help would be greatly appreciated. import numpy as np import cv2 img =...

View Article

object counting in python open cv

can anyone tell how to count number of bottle in this image ? ![image description](/upfiles/15800168382951389.png)

View Article

How to fill closed contours of edged text in Python

Hi everyone! I'm working on a project to convert handwritings into a plot from which I'll try to convert it into gcode. Here with Open CV I'm trying to find the best way to convert handwritings to...

View Article

How to work with leaf disease detection Need a Help openCV

Hi Techies, I'm new to the OpenCV and Python I need Help for done my project, kindly anyone guide me please, I already referred to lot Git sources but not able to complete my project, initially, I...

View Article


Can't load picture after finger detection open cv python.

. # -*- coding: utf-8 -*- """ Created on Fri Jan 24 20:27:59 2020 @author: Shrouti """ import numpy as np import cv2 import math import subprocess import time def calculateFingers(res,drawing): hull =...

View Article

How to get the number of centroids in a rectangle?

Current if statements checks if centroid coordinates (x, y) are inside the red rectangle and outputs the coordinates. Instead of getting coordinates of each centroid inside the red rectangle how can I...

View Article


Site_packages not updated after Windows Build of Open CV

I completed building OpenCV on Windows 10. All steps are successful but Site_Packages are not updated, Can you please help

View Article

Opencv cuda python remap error cv.cuda.remap(raw, mapx, mapy, cv.INTER_CUBIC,...

I have installed opencv '4.2.0 dev' ,an already built package from https://jamesbowley.co.uk/accelerate-opencv-4-2-0-build-with-cuda-and-python-bindings/ (https://jamesbowley.co.uk/downloads/).I'm...

View Article


Why SURF_CUDA does not bind to python?

I compiled opencv and bound it to python3. Now in python I can find all functions I need but SURF_CUDA.

View Article

I'm trying to crop Image using cv2.cuda and I tried cuda_gpumat.adjustroi()

Hi all, I'm trying to crop image using cv2.cuda. I done crop with cv2.UMat **With UMat** cropped = cv2.UMat(p, [minX, maxX], [minY, maxY]) **With cv2.cuda_gpumat.adjustroi()** cropped =...

View Article

How to port image registration C++ code to Python

The python code below should register an image. The code is based on the example code map_test.cpp found [here](https://github.com/opencv/opencv_contrib/blob/master/modules/reg/samples/map_test.cpp)...

View Article
Browsing all 2088 articles
Browse latest View live