Questions tagged [computer-vision]

Use this tag for questions related to Computer Vision -- any aspect of software that enables computers to perceive, understand and react to their environment using cameras. For questions related to image filtering and quantification, use the tag [image-processing] instead.

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Detection using YOLOV8 and Prediction using Transformer

I've built a Vision Transformer using PyTorch from Scratch. After training I've built a Pytorch Vision Transformer(ViT) Model.My Model's Prediction and After Plotting it the Prediction and Image look ...
Arup Sankar Roy's user avatar
-2 votes
0 answers
6 views

How to run object detection in esp32 Cam/ arduino with a tensorflowLite model

I have tried running object detection with YOLOv8 (.pt model) with python and open cv with custom dataset. But I want to run the same thing in Arduino or ESP32-cam and I found that it works only with ...
Hacktiv8or's user avatar
-1 votes
0 answers
12 views

How to check which features can see YOLOv5 during training?

I'm training YOLOv5 model for object detection using its original repository, and I need to see which features are getting extracted in different layers. I read that this goal can be achieved using ...
radospisos's user avatar
-1 votes
0 answers
16 views

Detect circularity in a object (Hose Clip) in Real-Time

While detecting the object it must be circular with margin of +/- 2% after that I have to check if the locking screw is properly placed or not inn real time and the object is moving on a conveyor belt ...
Joule's user avatar
  • 1
0 votes
0 answers
30 views

How to draw green background at selected answer with OpenCV?

I'm new to openCV, I just consulted a source that allows scoring tests based on images. I want to add a green background colour to the selected answer or red to the wrong answer, green on the correct ...
blackTurtle's user avatar
0 votes
0 answers
16 views

Ignore hand when image processing in OpenCV

I am trying to detect the Rubik's Cube in an image. Having problems ignoring hand and figure in the image. Ii am using react-native-vision-camera library to get frames, and sending them to android ...
Anjali 's user avatar
0 votes
0 answers
31 views

Python OpenCV (cv2) not slicing image correctly [closed]

So I have an 800x800 image. I want to split it into multiple squares, but for some reason the slicing does not work as expected. I will show an example, by trying to just get the first 100x100 square ...
randomnamme's user avatar
0 votes
0 answers
16 views

How to tell Yolo Ultralytics what object to focus on

I am making a 3 axis gimbal for my final year project, The gimbal has a feature of object tracking, I have a made a GUI where i can see the video feed, Yolo detects everything in the video, but i want ...
Jeremy Mathew's user avatar
0 votes
0 answers
27 views

Black Square Detection [closed]

I am beginning in computer vision. I am having a really hard time detecting a black square in an image (the ultimate goal is to detect black squares in a grid and create a matrix to represent them) ...
Lara Calvo's user avatar
1 vote
1 answer
35 views

drawMarker() in cv2.aruco not found

I'm trying to use the function drawMarker() from OpenCV documentation in ArucoMarkers and for some reason it keeps giving me an error: AttributeError: module 'cv2.aruco' has no attribute 'drawMarker' ...
Mckinley Douberman's user avatar
-1 votes
0 answers
38 views

How can I segment and label each rib individually in this medical image?

Novice image processing student here looking for some guidance. I've extracted images from a surgical video and am looking to segment the ribs in these images to use in a future task. The image is ...
Wiley's user avatar
  • 1
-1 votes
0 answers
15 views

how to create a model search using cell in nni?

How can I create a model search like the blocks of nasnet using cell https://nni.readthedocs.io/en/stable/reference/nas.html# how can i add nn.cell in this model space class MyModelSpace(ModelSpace): ...
Maria Fernanda's user avatar
0 votes
1 answer
34 views

CV2 imread PNG with colortype 4 (gray+alpha) reads as (x,y,4) array

I have a png file with two 8 bit channels, however cv2.imread(fname, CV2.IMREAD_UNCHANGED).shape returns (768, 1024,4). I have verified that the colortype field in the IHDR chunk of the PNG file is 4....
pathfinder's user avatar
0 votes
0 answers
19 views

calculate the depth of a point with 2 pictures taken by two very different cameras [closed]

I am calculating the distance from the camera to the traffic lights in the DualCam dataset. This dataset uses the following 2-camera system to take paired pictures. I know that if they have the same ...
Bai Yang's user avatar
  • 413
-1 votes
0 answers
12 views

How to Segment Specific Text from a Handwritten Prescription Image using interactive segmentation technique? [closed]

I am working on a project where I need to extract specific text, particularly the names of medicines, from a handwritten prescription. My goal is to segment only the name of the medicine from the ...
austhopia_'s user avatar
0 votes
0 answers
39 views

using opencv android to detect square in a rubiks cube

i am building an react native android app that scannes and detect colors on a rubiks cube face i am not able to detect tiles i am using react-native-vision-camera library to get frames and sending ...
Anjali 's user avatar
0 votes
1 answer
57 views

Detecting Acute Angle Lines in a Masked Image using opencv

I'm currently working on a project where I need to identify and extract the region of acute angle lines, resembling a "V" shape, from a given masked image. As shown below and the required ...
mojojojo's user avatar
0 votes
0 answers
21 views

How to fix "TypeError: code() argument 13 must be str, not int" in fine-tuning Yolov8

I am fine-tuning Yolov8 with custom dataset. The error always happen after the First epochs. This means that the model train for some time but after a finishing first epoch, the error popup. Here is ...
Nuntea7's user avatar
0 votes
0 answers
13 views

How to convert object detection application in exe, by using openvino optimized model and YOLO

When I use this commend pyinstaller main.py --onefile -w to convert the project to exe file, I get this problem: Error: [Errno 2] No such file or directory: ''C:\Users\sachin\Appdata\Local\Temp\...
Sachin Chaudhary's user avatar
-2 votes
0 answers
30 views

Categorise a frame in a video to see if it contains one of a set of slides [closed]

I want to process videos where a lecturer stands in front of a whiteboard with multiple slides on it. They may move around, block the board, or write on a slide. I will have the collection of all ...
VeeBee's user avatar
  • 41
0 votes
0 answers
34 views

Merge lines that are approximately collinear and close together into one line

I used the Line Segment detection of OpenCV to detect lines, then I separated them into two separate parts, one list containing only horizontal lines and one list containing only vertical lines. The ...
lee's user avatar
  • 11
-2 votes
0 answers
10 views

Can I run YOLOV8 model for face recognition in real-time at client-side with minimal hardware? If so, which is more suitable? YOLOV8n/s/m/l/x?

YOLOv8 model for face recognition in real time is very slow on my system. I hardly get 3FPS. I used Roboflow to create my dataset and Jupyter Notebook to train my model. My PC specs are CPU: Intel i3-...
atomizen's user avatar
0 votes
1 answer
30 views

PyTorch Convolutional Neural Network (CNN) Training Batch Size Mismatch Error

I have a dataset folder with 4 subfolder named contexts(forest,glacies,mountain,sea) each folder has approximately 25000 jpg image aboutcontext, I'm training a Convolutional Neural Network (CNN) in ...
Furkan Şenoğlu's user avatar
0 votes
1 answer
65 views

Edge detection in dark images with background noise

I have many images from a high-speed camera that I would like to analyze. In the first step, I want to recognize the edges of a wiper, but I have problems recognizing them automatically because they ...
Celotos's user avatar
  • 11
-3 votes
0 answers
27 views

Which ML model should I use for detecting number of specific objects in an image? [closed]

I have a bunch of images of cheese, and I need to know which ML model would best tackle this issue. I've done a few vision projects in the past, but it's certainly not my strongest suit. Can anyone ...
A. Boy's user avatar
  • 41
-1 votes
1 answer
59 views

I have a set of specific images from which I need to recognize the handwritten digits. The problem is that they are very much distorted and noisy

the image from which we need to recognize the digits Now, as seen from this image, the digits are sometimes struck out, have pencil ticks and some of them are even circled using pencils/green pens. ...
sampath sai charan's user avatar
-1 votes
0 answers
17 views

How I can detect and classify the compounds of a Chinese-character-like image

Background: This is a book of Guqin (a traditional Chinse musical instrument with strings) music. Notice that the ancient people use a symbol system called "jianzipu" to record the note, ...
刘maxwell's user avatar
-3 votes
0 answers
32 views

ı have taken a error message when ı study computer vision [closed]

enter image description here I have taken this error message. I study about computer vision on jupyter notebook and ı wanted to try lane detection.when I upload the video, ı have taken this error. ı ...
Cemal Gürsel Kar's user avatar
0 votes
0 answers
23 views

pytesseract is not reading the QR code properly

I am trying to print the number from the QR image using pytesseract library. Also I tried pyzbar library. but I couldn't read the number from the image. Is there a better way to do it? # Convert ...
Sugan's user avatar
  • 1
-2 votes
0 answers
10 views

Code to label cities on empty map of Australia in specific location

I am trying to find programs online for the purpoise oif labelling town names on an empty and colored map of Australia. The map i have is black and white but has blue concentrations which depict ...
Gabriel ashmore's user avatar
0 votes
0 answers
28 views

YOLOv8 tracking with top 5 detection

I'm using YOLOv8 to track animals from trail camera footage. The tracking nicely identifies the same animal from frame to frame. However, what type of animal it is works on a per-frame basis and can ...
afaulconbridge's user avatar
1 vote
0 answers
34 views

How to test IOU score after training a YOLO model

The Yolov8 model is now trained with custom data and i am able to run prediction over some images for example like this !yolo predict model=/content/runs/detect/train/weights/best.pt source=dataset/...
Nugget's user avatar
  • 70
0 votes
0 answers
11 views

How to apply Grad-CAM on video

I have VGG-19 trained without its final dense layers trained to receive an array of shape (None, 224, 224, 3) where None is the number of frames contained in the video. I am trying to find a way to ...
Pablo N.'s user avatar
0 votes
0 answers
64 views

OPENCV, How to detect parking spots

I am trying to make a parking space detection system, I opened a question 2 days ago. It didn't work what ever I tried, I decided I start again with it. I have did alot of things to make this better, ...
Bhargav Raj's user avatar
2 votes
1 answer
43 views

OpenCV findHomography giving inacurate result

I am having trouble with the findHomography function in OpenCV, it is not translating even my corner points correctly. Here is the code I have to calculate the homography. std::vector<cv::Point> ...
Johan Daniel's user avatar
0 votes
0 answers
63 views

Convert Color Image to 16-bit Grayscale in OpenCV?

I wish to convert a color image to a 16-bit grayscale image using C++'s OpenCV library. I'm using OpenCV 4.1.2 and C++ 17. I'm able to load a color image & save it as 8-bit grayscale with the ...
Runsva's user avatar
  • 509
1 vote
0 answers
33 views

Line segmentation detection line draw by hand

. I have an image of hand-drawn straight lines. My goal is to convert them to straight lines and connect them together in a logical way and draw them again to a new white background image. I have used ...
lee's user avatar
  • 11
-1 votes
0 answers
21 views

Square Detection, Extraction, & Color Quantization [closed]

Problem Identification: I aim to output a water treatment plan based on the chemical analysis of water, represented through a test strip. I have already built the section of code that outputs a plan ...
kendall.tubbs's user avatar
0 votes
0 answers
30 views

Weird stereo disparity map and point cloud in MATLAB

I am trying to obtain the disparity map and the point cloud from two stereo images contained in the Middlebury dataset, but my results look incorrect. These are the images from the Middlebury dataset ...
gwn's user avatar
  • 23
0 votes
0 answers
18 views

ValueError: Expected x_min for bbox (-0.0005000000000000004, 0.5085, 0.0385, 0.7675, 1) to be in the range [0.0, 1.0], got -0.0005000000000000004

I annotated my images on cvat and export it in yolo format. Then, I tried using albumentations for augmenting my images. However, I have been tackling this problem where I even tried rounding the ...
Nuntea7's user avatar
1 vote
0 answers
38 views

Get 3d ray in world coordinates from a 2d pixel location

I am trying to project a 3d ray from a 2d image pixel location. I have the actual 3d coordinates of a pixel location and want the ray from the camera to intersect this point but currently my line is ...
Mattcc18's user avatar
0 votes
0 answers
17 views

How to access submodel layers encapsulated in Time distributed layer in Keras model

I have developed a model that consists of extracting spatial features from video frames using VGG-19 and, from these spatial features, extracting temporal features using LSTM. For this purpose, I have ...
Pablo N.'s user avatar
0 votes
0 answers
9 views

Aravis: Buffer underrun causes timeout

I'm using the Aravis library with a GenICam ethernet camera. If I don’t call arv_stream_timeout_pop_buffer() often enough and Aravis runs out of input buffers and gets buffer underruns, after a while (...
Pibben's user avatar
  • 1,896
-1 votes
0 answers
30 views

Estimating object size from camera range

I want to estimate the actual size of an object using a single camera. The distance to the object is fixed at 3 meters. I want to use a Python program to estimate the size of the object. How can I get ...
DOYOUNG KIM's user avatar
0 votes
0 answers
15 views

I am getting error Using vgg-face the error is an import error

the image is from the google colab i have tried mutiple ways like installing various versions but no Luck the instructionns form the git repo well not working and tryed cloning it and using it but no ...
Ammar Ali's user avatar
0 votes
1 answer
34 views

Wrong distance estimation in MATLAB from stereo images generated in Blender

I am trying to simulate a stereo camera in Blender and to measure the distance, but I am having some issues with measuring the distance of the cameras from the checkerboard pattern. In Blender, I set ...
gwn's user avatar
  • 23
-4 votes
0 answers
12 views

ModuleNotFoundError: No module named 'pie_data' [closed]

I got this error on ubunttu 16 File "train_test.py", line 16, in from pie_data import PIE ModuleNotFoundError: No module named 'pie_data' File "train_test.py", line 16, in from ...
sh Sf's user avatar
  • 1
-1 votes
0 answers
17 views

Find position of small images in larger image [closed]

I want to use MTM to compare images but I have 2000 small images to compare in single image.. It's slow to check these small images are present or not.. Can i get a way to faster I tried MTM but it ...
Velavaraj P's user avatar
0 votes
0 answers
51 views

cv2.error: OpenCV(4.8.1) error: (-215:Assertion failed) nimages > 0 in function 'cv::calibrateCameraRO'

So i want to do calibration with the below image :enter image description here and i encounter this error : ret, mtx, dist, rvecs, tvecs = cv2.calibrateCamera(objpoints, imgpoints, gray.shape[::-1], ...
Pariya's user avatar
  • 1
-1 votes
1 answer
82 views

Docker Error: OCI runtime create failed: runc create failed: unable to start container process: exec: ".": executable file not found in $PATH: unknown

I have created one flask app using yolo model. My app is using following libraries and I have stored them in requirements.txt file. pandas numpy matplotlib seaborn streamlit boto3 opencv-python ...
Tanmay Chakraborty's user avatar

1
2 3 4 5
313