I found two ways to use colors for drawing on an image:
- Cryptic one:
fillPoly(img, quads, Scalar(0, 255, 191));
- Bringing mostly unneeded dependencies:
#include <opencv2/viz/types.hpp>
...
fillPoly(img, quads, viz::Color::lime());
Is there a simpler way?