Skip to content

is that possible to change default image from BGR to RGB at 5.0 version? #23906

@zihaomu

Description

@zihaomu

Describe the feature and motivation

Users always do the following:

img_bgr = cv2.imread("PATH") # OpenCV decode the image and swap B and R.
im_rgb = cv2.cvtColor(img_bgr, cv2.COLOR_BGR2RGB) # than swap R and B back.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions