Category "computer-vision"

Fast and Robust Image Stitching Algorithm for many images in Python?

I have a stationary camera which takes photos rapidly of the continuosly moving product but in a fixed position just of the same angle (translation perspective)

Image segementation dataset format

I'm following this tutorial: Tensorflow Image Segmentation I want to make my own dataset. Ideally, following the same format as the Oxford pet dataset used in

ImageDataBunch function is not defined-FastAI windows

I am trying to install fastai in my windows 10. My laptop has no GPU, I am using pip in cmd to install fastai. In pip page, they mentioned to install pytroch be

Pytorch RuntimeError: CUDA out of memory with a huge amount of free memory

While training the model, I encountered the following problem: RuntimeError: CUDA out of memory. Tried to allocate 304.00 MiB (GPU 0; 8.00 GiB total capacity; 1

import pyzbar.pyzbar - Unable to find zbar shared library

I want to make a script for detecting and reading QR codes from photos. I would like to use PyZbar for that, but I have a problem with some errors. I'm working

Opencv for Unity - Camera position inaccurate by factor of ~2

I am having an issue getting accurate aruco pose estimation. The transform of the AR object relative to camera is a factor ~2 smaller than it should be. In the

Improve edge detection using opencv

so I am working on a project to scan analog photos. The program should detect the edges and crop it automatically. For that I am using Python and OpenCV. My pro

I need help to use only 8 out of 10 classes from cifar 10. Normally it loads all 10 classes

I want to perform 8 class classification only and hence need to filter any 8 classes out of 10. Please help. Thank you! Code to load cifar 10 is below #Keras li

Training Yolact on Google Colab+ without timing out

I want to train Yolact on a custom dataset using Google Colab+. Is it possible to train on Colab+ or does it time out to easily? Thank you!

OpenCV - Calculating SIFT Descriptors for given Harris Corner Features

I need to calculate the SIFT descriptors for given features from the Harris Corner detection in OpenCV. How would I do that? Could you provide me some code exam

Particle detection with Python OpenCV

I'm looking for a proper solution how to count particles and measure their sizes in this image: In the end I have to obtain the lists of particles' coordinates

Find question text block in image with Python Opencv

How can I select question blocks in a jpg file with questions in Python code? The codes below select texts. I want to select question blocks with their choices.

Identify table grid in image

I have to identify the table grid in this image and change it to Grimson red color. I am a beginner in image processing. img_arr = mpimg.imread("1.jpg") plt.

Add new class to YOLOv3-tiny/v4-tiny in darknet

I'd like to ask you if it's possible to extend/add new class to pre-trained yolov3/v4-tiny model. I need to add shoe. Let's say it would be 81st object. My expe

Is there any way to detect edge in this situation?

I try to detect edge using python. There are hundreds of algorithms for edge detection, however, the image is very obscure and unclear. The most serious problem

How to get rid of the KeyError: 'names'

I was trying to make a program that can make classification between runway and taxiway using mask rcnn. after importing custom dataset in json format I am getti

Projective transformations no longer available in TensorFlow 2.0 what can I do?

My team are switching to TensorFlow 2.0. I'm working on a data augmentation pipeline. TensorFlow 1.X had tf.contrib.image.transform that allows for projective t

I need to measure the gap between railway switch and track using python

I need to predict the gap in railway switch using python. Switch image:

How to determine travel distance of an object between frames, using a moving object and camera

If you have a video file with a moving object, as well as a moving camera, is it possible to track the distance that the object moved between 10 or 20 frames? I

Filling contour won't work using drawContours() thickness=-1 [duplicate]

I am trying to fill a contour which was obtained by separately thresholding 3 color channels. image_original = cv2.imread(original_image_pat