Skip to main content

All Questions

Tagged with
0 votes
1 answer
291 views

Hand Tracking Module

I was trying to make an Hand Tracking Module with python, opencv and mediapipe, that I'll integrate later with another code, the code is: import cv2 import mediapipe as mp import time import math ...
Faceoff's user avatar
0 votes
0 answers
39 views

(Python) just locate few corners of img (now I could locate all corner) that I want to know the setting the filter the output I want

(Python) just detect few corners instead of all from img, to optimize the speed My main purpose is to cut the original img in sticker size, and recognize img to text, find if is duplicate or print ...
user avatar
0 votes
2 answers
368 views

Detection and classification of objects placed in front of a video camera

Through this code, I aim to detect an object in real-time that will be put in front of the video camera and classify it. My reasoning is the following I tried to make two for loops the first one for ...
nada nada's user avatar
0 votes
0 answers
682 views

Build openCV with python3 in Jetson Nano

my problem is a bit complicate to explain but I am gonna do my best ( it's gonna be long) . I am trying to develop a python program to count vehicules in a traffic. For that I have a canvas on which I ...
Antsa R's user avatar
  • 15
-2 votes
1 answer
1k views

Error when trying to install opencv-python package 4.3 on python 2.7

When I try to install opencv-python 4.3.0.38 using pip with pip install opencv-python on python 2.7, I'm getting the following error. Collecting opencv-python Using cached opencv-python-4.3.0.38.tar....
Cai Tufei's user avatar
-1 votes
1 answer
126 views

Problems with Aruco library on Debian 9.5 - OpenCV

I am trying to detect Aruco markers through my camera using OpenCV for Python 2.7 on Debian 9.5, but I can't run my code because of an errore dealing with cv2.aruco.detectMarkers(). Running it on ...
Loris's user avatar
  • 1
2 votes
1 answer
2k views

Access Image via OpenCV in python (ROS Kinetic)

I want to access my camera using OpenCV in ros kinetic, this is my code #!/usr/bin/env python2.7 import rospy from sensor_msgs.msg import Image import cv2 from cv_bridge import CvBridge, CvBridgeError ...
Anto's user avatar
  • 61
0 votes
1 answer
703 views

Can I balance an extremely bright picture in python? This picture is a result of thousands of pictures stitched together to form a panorama

My aim is to stitch 1-2 thousand images together. I find the key points in all the images, then I find the matches between them. Next, I find the homography between the two images. I also take into ...
misty's user avatar
  • 3
0 votes
1 answer
2k views

OPENCV mean value of image using only values under a threshold

I have the intensity values from a row of a gray scale image (0-255) as in the image. I want to apply pixel centering so I subtract the mean value from all the intensity values. But I don't want to ...
Meanmachine's user avatar
1 vote
0 answers
271 views

Cannot install opencv-python for PyPy2.7

I installed PyPy2.7 in the WSL (Ubuntu 18.04) following the official instructions. I then created a virtualenv and installed Numpy and Scipy with pip install. So far everything works: $ python Python ...
jullit31's user avatar
0 votes
0 answers
344 views

How can I switch Python Tkinter GUI camera source?

First of all, I wanted to put a camera switch option on a piece of code found here. First, I found the possible camera indexes and tried to change the camera sources with the push of a button. Even ...
erenpostaci's user avatar
0 votes
1 answer
544 views

OpenCV Error: Assertion failed (nimages > 0 && nimages == (int)imagePoints1.tot ........ line3106

OLD: Trying the OpenCV tutorial for camera calibration. Kindly look for part two right after "EDIT" below the the first python code section I receive this error: OpenCV Error: Assertion ...
Vishwad's user avatar
  • 231
3 votes
2 answers
4k views

How to show image in true size in a full screen opencv window?

I am trying to create a fullscreen opencv window (size 1920x1080) which should show an image (620x365) in mid center position of the opencv window. Unfortunately, the image gets expanded to fullscreen ...
Bill Bridge's user avatar
-1 votes
1 answer
2k views

Apply resize on multiple images at one time in openCV python

I have read a folder containing pictures using glob and imread. Now my I want to resize all of those pictures using for loop in cv2.resize. following is my code but the output is not correct-- import ...
guati dibba's user avatar
0 votes
0 answers
496 views

Using matplotlib.pyplot.imshow to display images to scale just like cv2.imshow

I am writing a tool to quickly scrub through a stream of images and mark down their timestamps if wanted. So I need to display an image and wait for user input using raw_input to decide whether to ...
jaaq's user avatar
  • 1,236

15 30 50 per page
1
2 3 4 5
68