opencv_contrib
opencv_contrib copied to clipboard
ccm_ColorCorrectionModel.infer() use too long time
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 !