104 questions
When I moved the Xcode project from another PC to another PC and tried to run it on a new PC, it was probably a library link problem, but I'm having trouble running it. The project uses multiple libra...
I'm a complete beginner.I use Raspberry 3 model B+, Raspbian, and Thonny (Simple Mode).I installed Opencv (2.4.9.1) on LXTerminal, but it was installed on python2.How can Python 3 handle Opencv?The ve...
I would like to connect two cameras to my PC and use C++ and OpenCV to create a panoramic composite of the images obtained from each.I created the code by referring to the site below.Explanation of pa...
Error Message Use int for the main return type. You cannot use void.The int main(void) overload function differs only from the int main(void) return type.These two won't disappear.Thank you for your c...
Huff transformation is a way to detect straight lines in an image, but as far as the library is concerned, I can't find a way to specify such as extract only lines that are more than a certain thickn...
If you call a function from another file, you will not be able to open the image.If you don't call, you can run it safely.No OpenCV is used for calling functions. from pathlib import Pathimport cv2I c...
When I wrote the following Opencv program on Python,#-*-coding:utf-8-*-import cv2import numpy as npth = 100# Acquisition of background and input imagesim_bg = cv2.imread('kyousitu2.jpeg')im_in=cv2.imr...
The following program using CountNonZero in opencv#-*-coding:utf-8-*-import cv2import numpy as npw_num = 0img=cv2.imread(detect_0_0.jpg)w_num=cv2.CountNonZero(img)print(%d%w_num)When I ran Traceback (...
I don't know how to get the pixel value (0-255) of the coordinates you specified from the Mat type grayscale image on Android (Java).Please let me know if there are any available functions.Also, I wou...
I would like to correct the distortion of the image with Python's OpenCV, but from the chessboard taken with the following code.I understand that the distortion coefficient is calculated, but how shou...
« | - 7 - | » |
© 2024 OneMinuteCode. All rights reserved.