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

Making surface/wall touchable

Hello, I was trying various things, algorithms, neuron networks, took too much time and I am already running out of ideas. So what I have problem with turning wall surface (or something atleast near...

View Article


How to read video from Thorlabs DCC1545M camera using opencv python

I want to perform some simple video processing on camera feed using opencv(4.1.0) python(3.7) programming

View Article


How do I get the ROI coordinates based on my prediction?

I am using SVM to predict my ROI, I trained SVM and now in testing phases, it's giving me output with labels in the form of 1 and 0. I am trying that if SVM predicts `1` mean image contains eyebrow,...

View Article

How can i load a onnx with opencv?

I have just convert a model from pytorch to onnx and now i want load it with opencv so that i can use it in android application. But every time i run a test code in python ```...

View Article

Making touchable/interactive surface

Hello, I was trying various things, algorithms, neuron networks, took too much time and I am already running out of ideas. So what I have problem with turning wall surface (or something atleast near...

View Article


How to optimize frame grabbing from video stream in OpenCV?

Hello everyone, I ran into a problem problem of low frame capture efficiency in OpenCV. **Hardware & Software.** - Raspberry Pi 3 (1,2 GHz quad-core ARM) with HDMI Display - IP camera: LAN...

View Article

selecting an object surrounded by objects of similar colour

I have an image of a chilli which I want to outline however the background and the other objects in the image (leaves) are of a very similar colour. I have tried to extract from the colour however the...

View Article

cv2.imshow error

hello, In this very simple program : import cv2 video_capture = cv2.VideoCapture(0) while True: ret, frame = video_capture.read() cv2.imshow('Video', frame) ..... i have this error : (python3.6:5494):...

View Article


is dnn module possible to get specific outputs from multiple layers in one...

i.g. net = cv.dnn.readNet(caffemodel, prototxt) img = ... blob = cv.dnn.blobFromImage(img, scale, (227, 227), mean, isrgb, cropFromCenter) net.setInput(blob) A, B = net.forward([ "A", "B" ])

View Article


How could do sharpness images?

Hello everyone, I want a sharpness image like a camera. In fact, I find how to blur with cv2.GaussianBlur or cv2.Blur but I want to focus or blur depending on the value that is set. What opencv...

View Article

input arguments to execute openCV code - Python

Hi, i'm triyng to execute a script but this needs arguments to execute. I use Windows plataform and i tried to use a bat to execute python: python recognize_video.py %input% %input2% %input3% %input4%...

View Article

opencv dnn tensorflow net.forward shape

import cv2 as cv import numpy as np net = cv.dnn.readNetFromTensorflow('./model/tf_model.pb', './model/model.pbtxt') img = cv.imread('./data/frame63.jpg') (h, w) = img.shape[:2]...

View Article

How do I cant a select timeout error from Python

Hello everyone. I'm working with a USB camera that sometimes fails with the infamous **select timeout** issue. I'm working on fixing that but for now I just want to manually shutdown and restart the...

View Article


Correct multi thread usage

When I try to run this program on my computer (system: macOS Mojave) with the --voice flag I'm having a ton of pid(5054)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT...

View Article

Remove background elements in an image without removing text subjects

**Disclaimer:** All photos attached are randomly picked online because they closely resemble my dataset! I am trying to extract some information from an image like the one I attached below. It has tons...

View Article


Python: src.empty() when i try to use rtsp link instead a normal camera

Hi i'm trying to execute this simple code to test a rtsp link instead a normal camera but it doesnt work the code is: import numpy as np import cv2 #cap = cv2.VideoCapture(0) cap =...

View Article

Open videofile with using opencv and gstreamer

I began to study opencv. Open with opencv a videofile so easy. But I do not understand how you can open the file using the gsteamer. I read the documentation. As written in the documentation,must do...

View Article


Region of interest extraction

I am trying to extract a triangular traffic sign from an image. I applied a Hough line transform after thresholding the image and the lines were successfully detected. The problem is cropping it out.

View Article

Python to Java: KNearest training / numpy.loadtxt()

Hi, I am currently converting an character recognition script from python to java. In Python I used classifications = numpy.loadtxt("classifications.txt", numpy.float32) flattenedImages =...

View Article

live IP-camera: long frame decoing time on ARM boards

Hi, I use Python/opencv to read video frames from a live rtsp ip-camera. Unlike reading from offline Mpeg file, encoded video frames come in a real-time way. The problem is if the frame capture...

View Article
Browsing all 2088 articles
Browse latest View live