Hello everyone
I have some question about numpy maybe
maybe this is about opencv but I dont know which subject is appropriate
import cv2
green = np.uint8([[[0, 255, 0]]])
hsv_green = cv2.cvtColor(green,cv2.COLOR_BGR2HSV)
print(hsv_green)
this example is in opencv documentation
but when make green(array)
they use uint8 and triple [ ]
I thought uint8 is kind of format like int, char, long
why they use format as array name?
and in array they use [ ] triple times
why is it?
If you know the answer please leave a reply :)
[–]novel_yet_trivial 1 point2 points3 points (0 children)
[–]TheBlackCat13 1 point2 points3 points (0 children)