Skip to content

Does detect.py grayscale or B/W? #5411

Answered by glenn-jocher
danielsoy asked this question in Q&A
Discussion options

You must be logged in to vote

@danielsoy detect.py YOLOv5 dataloaders use cv2.imread() which will automatically convert 1ch greyscale to 3ch greyscale prior to inference.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@danielsoy
Comment options

Answer selected by danielsoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants