opencv_contrib icon indicating copy to clipboard operation
opencv_contrib copied to clipboard

ccm_ColorCorrectionModel.infer() use too long time

Open guoyunfei20 opened this issue 3 years ago • 0 comments

Dear,

  • OpenCV Contrib = 4.5.5
  • Operating System / Platform => Ububtu 64 Bit
  • Compiler => VS Code

I'm trying to use "CCheckerDetector" to detect "COLORCHECKER_Macbeth", and use "ccm_ColorCorrectionModel" to find CCM and corrrect the color of my image. [python3] The whole workflow works very well, and the correction result looks fine mean while. But the ccm_ColorCorrectionModel.infer() is too time consuming. When I put in an image with size (1333, 2000, 3) , it need about 0.8 second to correct it in my computer. It's too long for me. My question is: Do you have any other method to speed up this proccessing ? Thanks for any help, Look forward to your answers !

guoyunfei20 avatar Sep 14 '22 10:09 guoyunfei20