Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

choosing the correct lower and upper bounds in cv2

# I've found some color spaces.

     # RED COLOR
     lowwerBound = np.array([150, 100, 100])
     higherBound = np.array([180, 255, 255])

     # BLUE COLOR
     lowwerBound = np.array([100, 155, 84])
     higherBound = np.array([150, 255, 255])

     # GREEN COLOR
     lowwerBound = np.array([50, 100, 100])
     higherBound = np.array([80, 255, 255])

    # ORANGE YELLOW
     lowwerBound = np.array([10, 100, 100])
     higherBound = np.array([40, 255, 255])
    
# Now you can play around with these hsv scales to get the best results
Comment

PREVIOUS NEXT
Code Example
Python :: classe statistique dataframe python 
Python :: tag for deleting from a list in python 
Python :: write a python program to find gcd of two numbers 
Python :: how to get total number of rows in listbox tkinter 
Python :: get package share vs FindPackageShare 
Python :: python spearman correlation 
Python :: python scatterplot figsize 
Python :: calculate the addition of two lists in python 
Python :: get all index of item in list python 
Python :: pydotprint 
Python :: python class documentation 
Python :: how to plotting points on matplotlib 
Python :: how to save data to text file python 
Python :: show image with ratio opencv python 
Python :: django admin order by 
Python :: pandas create a column from index 
Python :: How to convert a string to a dataframe in Python 
Python :: add element to heap python 
Python :: os run shell command python 
Python :: what is actually better duracell or energizer 
Python :: create additional rows for missing dates pandas 
Python :: how to plot heatmap in python 
Python :: text to dictionary python 
Python :: How to add card in trello API using python 
Python :: add empty column to dataframe pandas 
Python :: pandas replace data in specific columns with specific values 
Python :: python transfer file 
Python :: how to clear a text file in python 
Python :: how to take two integers as input in python 
Python :: export sklearn.metrics.classification_report as csv 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =