Skip to content
Advertisement

OpenCV(4.5.5) error: (-5:Bad argument) in function ‘putText’

JavaScript

Advertisement

Answer

In fact, this is a problem caused by the format of the image itself. There is an incompatibility issue with opencv. I don’t know if it’s a bug. This problem can be solved in two ways.

JavaScript

or

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement