Home > other >  For years, under the guidance, why my opencv convert image to grayscale complains?
For years, under the guidance, why my opencv convert image to grayscale complains?

Time:09-28

CodePudding user response:

Turn gray figure should use the gray=CV. CvtColor (image, CV. COLOR_BGR2GRAY)

CodePudding user response:

Yes, I just use this API, just is to use a demo, lose this directly, and is also an error this

CodePudding user response:

reference 1/f, ice all over the sky the wind response:
turn gray figure should use the gray=CV. CvtColor (image, CV. COLOR_BGR2GRAY)

Yes, I just use this API, just is to use a demo, lose this directly, and is also an error this

CodePudding user response:

Conversion mode COLOR_BAYER_BG2GRAY you wrote, I give you hair is COLOR_BGR2GRAY
  • Related