I am trying to replace the following C++ and OpenCv code to python. I tried looking around and thought of the following python code but not sure it's the correct way to express CvScalar. Appreciate the help!
For C++ (opencv):
CvScalar lambdaSqrt;
lambdaSqrt.val[0]=10;
For python:
lambdaSqrt = []
lambdaSqrt[0] = 10
Aucun commentaire:
Enregistrer un commentaire