opencv tag

104 questions


1 answers
96 views
0
C++ program using OpenCV has error "Identifier CV_WINDOW_AUTOSIZE, CV_WINDOW_FREERATIO not defined"

I would like to run the following sample program using OpenCV 4.0.0 and VisualStudio c++, line 33 CV_WINDOW_AUTOSIZE | CV_WINDOW_FREERATIO in the respective parts ofThe identifier CV_WINDOW_AUTOSIZE C...

2 years ago

1 answers
101 views
0
I want to extract a specific color from the image.

Thank you for your help.I'd like to extract red and green colors from the image and enclose the color dot group in a rectangle, but I can't try any HSV pattern.Blue is working well now, but it's partl...

2 years ago

1 answers
128 views
0
There is a difference between the point of acquisition with pyautogui and the HSV value when reloading after saving the same image.

Regarding the title, I was at a standstill because I didn't know the cause.QuestionsIn Python, I have written a program to compare the following two HSV values.Convert images from pyautogui.screenshot...


1 answers
74 views
0
object recognition in an image using python

We use Python (WinPython 3) and OpenCV for image processing programming.What should I do to make the building in the image recognized in the image taken with a digital camera?Specifically, if there ar...


1 answers
75 views
0
Checking Image Similarity on Python 3 on Alpine Linux

I would like to prepare two types of photos (A and B) in Python, compare the parts of photos A and B, and return the coordinates of photos B if there is a high similarity, but I am having trouble usin...

2 years ago

2 answers
72 views
0
python opencv error image processing index

import cv2file=face_01.jpgimg=cv2.imread(file)imgray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)h,w = imgray.shapeprint (imgray[60][39])Doing so will result in IndexError: index 60 is out of bounds for axis ...

2 years ago

1 answers
93 views
0
I'd like to take a picture of the fish in the aquarium with a camera and track its location, what kind of method would you recommend?

I'd like to show the fish tank from the top with a camera and track the location of the fish from the image, but what kind of method is appropriate?I tried hsv conversion using opencv and tracked it w...

2 years ago

1 answers
84 views
0
How to display images/movies from Docker

After building Opnecv with the Docker container up, import numpy as npimport cv2 cap=cv2.VideoCapture('video_name.mp4')while(cap.isOpened()): ret, frame=cap.read() gray=cv2.cvtColor(frame,cv2.COLOR_BG...

2 years ago

1 answers
67 views
0
$ conda install -- channel https://conda.anaconda.org/menpo opencv3 error

Attempting to use OpenCV 3.x on Python 3.x-series Anaconda failed with an error.What should I do to deal with the following errors?$conda install --channel https://conda.anaconda.org/menpo openencv3Fe...

2 years ago

1 answers
91 views
0
Combine videos with python

Objective: I want to combine multiple mp4 videos with python.The video and sound are the same.The original movie is located in the movies_in folder in the same hierarchy as the executable.Comb_movie()...

2 years ago
« - 8 - »

© 2024 OneMinuteCode. All rights reserved.