gattsbr
0
Q:

why we put '0' as second argument in imread function in opencv

# Python program to explain cv2.imread() method 
  
# importing cv2  
import cv2 
  
# path 
path = r'C:\Users\Rajnish\Desktop\geeksforgeeks.png'
  
# Using cv2.imread() method 
img = cv2.imread(path) 
  
# Displaying the image 
cv2.imshow('image', img) 
0

New to Communities?

Join the community