Category "computer-vision"

How to perform image lighting correction with OpenCV?

I have an image which I grab using a camera. Sometimes, the lighting is uneven in them image. There are some dark shades. This causes incorrect optimal threshol

How to detect and extract rectangles with Python OpenCV?

I am trying to detect three rectangles from the contour. I have already extracted the entire contour from the whole image. I am attaching the image of extracted

How to extract green objects in an image?

I have ROI's for the bounding boxes around the objects in an image. The ROI's are obtained by the Faster R-CNN. Now I want to get the green spike objects contai

Sparse Categorical CrossEntropy shape problem with Keras

I have a multiclass problem where an image can be one of three classes (Masked, UnMasked, Hybrid). I am using image_dataset_from_directory from keras preprocess

How to set a known position and orientation as a starting point of ARKit

I am starting to use ARKit and I have a use case where I want to know the motion from a known position to another one. So I was wondering if it is possible (lik

How to extract multiple objects from an image using Python OpenCV?

I am trying to extract object from an image using the color using OpenCV, I have tried by inverse thresholding and grayscale combined with cv2.findContours() bu