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)
compareHist openCV with multiple dimensions
I am working on image colors comparison and I am struggling with understanding how cv2.compareHist works for multiple dimensions. Here is my issue: if I take every channels in compareHist I find a inv...
Wolf
Votes: 0
Answers: 0
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
Improve quality of extracted image in OpenCV
#Segmenting the red pointer
img = cv2.imread('flatmap.jpg')
hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
lower_red = np.array([140, 110, 0])
upper_red = np.array([255, 255 , 255])
# Threshold with inR...
unistudentprogrammer
Votes: 0
Answers: 2
How to change the color in python but retain its shade
I'd like to give an option to the user to change color of a particular pixel. If the particular pixel is light blue, and the user selects it to be green. How should I enforce the change to represent l...
Manasi
Votes: 0
Answers: 1