python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Image processing for improved color detection (python)
I use deep learning algorithms to detect elements in an image.
Once these elements are detected I try to recover two colours in this image.
Here is an example of the images I process:
Non-contrasted i...
Antonin Lemoine
Votes: 0
Answers: 2
choosing the correct hsv boundaries and masking
Here my code below.
I want to detect real time shapes but as you can see there is a problem to detect that.
import cv2
import numpy as np
def nothing(x):
pass
cap = cv2.VideoCapture(0)
cv2.nam...
crazyruh 10
Votes: 0
Answers: 0
I would like to know the nearest or the closest rgbvalues base on 9 rgb color range
i know there are similar question like this one. Find closest RGB color for every pixel in image
But mine is i want to know base on the range of the color.
#the brighter values of colors
low_color = [...
4u Don
Votes: 0
Answers: 0
How to count the color detected objects using OpenCV
I am trying to detect objects using color. Below is the code and the image:
import cv2
import numpy as np
img = cv2.imread('image2.jpeg')
img1 = img[157:498, 212:705]
hsv = cv2.cvtColor(img1, cv2.CO...
S Andrew
Votes: 0
Answers: 1