My problem is simple at least as I see, or how I feel about it. I tried to load and write Bitmap images with OpenCV in C++ and got sucessed in it, my problem is
I am trying read text from this using Python with OpenCV. However, it is not able to read it. import cv2 as cv import numpy as np from matplotlib import pyplot
I would like to pass the image file into OpenCV to create a NumPy array without unzipping it. My code looks like this: zip_file = r'D:\Folder\small_img.zip' w
I am using Yolov5 for this project Here is my code import numpy as np import cv2 import torch import torch.backends.cudnn as cudnn from models.experimental impo
I have a c++ application that sends data through to a python function over shared memory. This works great using ctypes in Python such as doubles and floats. No
To convert to colormap, I do import cv2 im = cv2.imread('test.jpg', cv2.IMREAD_GRAYSCALE) im_color = cv2.applyColorMap(im, cv2.COLORMAP_JET) cv2.imwrite('color
I'm trying to figure out how it is possible to receive an OpenCV image from a Python in C++. I'm trying to send a callback function, from C++ to my Python modul
I have an image which I've read in with cv2 and python. - I think I'm going to 'store' the image as a nparray in my db for later processing, easy retrieval etc.
I have gone through the below snippet and was wondering how copyTo() in opencv function work. // Make a copy Mat faceWithGlassesNaive1 = faceImage.clone();
I tried the code provided below to detect digit in the video camera and put a contour around it then classify it using the H5 model but it's giving me bad resul
I'm trying to get stream from IP camera with the help of openCV. Non-docker app runs fine on my PC, but i need to run it in a docker container. Here is my Docke
How can i install OpenCV 3.2 in linux? Firstly, conda install -c menpo opencv3=3.2.0 installs but gives this import error: File "<stdin>", line 1, in &l
I installed OpenCV 3.3.1 with python 2.7 (GPU), but I tried to install OpenCV4.x with Python3. I followed this post here Output find /usr/local/lib/ -type f
I have trained a Yolo4 network and it is giving me bounding boxes as: img_array = cv2.cvtColor(cv2.imread('image.png'), cv2.COLOR_BGR2RGB) classes, scores, bbox
I am building a python library and I writing a function like this: def addimg(image) -> None: now I want to specify the type of image as an OpenCV image (e.
I have a problem can't make work together opencv and kivy with buildozer on android smartphone. On pc works fine but when I packaging with buildozer and put in
I am unable to differentiate between the below two contours. cv2.contourArea() is giving the same value for both. Is there any function to distinguish them in P
I am facing a problem in classIds, confs, bbox = net.detect(img,confThreshold=float0.5) How to fix it?Please help. I am trying to run a very simple OpenCV scrip
I would like to know if there's a simple way to change a color, say from a shade of grey to white, within an area of interest that would be determined from the
I am using AI Thinker ESP32-CAM with stream url http://192.168.8.100:81/stream. I have tried this and other techniques but nothing worked for me import numpy a