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 ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleMaking 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 ArticleHow 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 Articleselecting 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 Articlecv2.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 Articleis 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 ArticleHow 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 Articleinput 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 Articleopencv 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 ArticleHow 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 ArticleCorrect 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 ArticleRemove 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 ArticlePython: 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 ArticleOpen 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 ArticleRegion 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 ArticlePython 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 Articlelive 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