« first day (2161 days earlier)      last day (1192 days later) » 

10:52 AM
import cv2
import numpy as np

# Load Image
img = cv2.imread("./Picture/WK10.jpg") # File Name Here

# convert to hsv
hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)

# mask of green (36,25,25) ~ (86, 255,255), but you can choose
mask = cv2.inRange(hsv, (36, 25, 25), (70, 255,255)) # Tweek your mask filter here

# slice the green
imask = mask>0
green = np.zeros_like(img, np.uint8)
green[imask] = img[imask]

# Get a count of pixels masked
count = 0
for col in imask:
for point in col:
if (point==True):
 
1 message moved from Python
 
user14663859
 
1 message moved from Python
 
can someone help me with this:
https://stackoverflow.com/questions/65772188/how-to-run-proccess-in-background-without-freezing-ui ?
 
1 message moved from Python
 

« first day (2161 days earlier)      last day (1192 days later) »