1
Good evening guys, my question is about a piece of code I found in a book about Python and Opencv. The author created the function that I will put below:
@property
def frame(self):
if self._enteredFrame and self._frame is None:
_, self._frame = self._capture.retrieve()
return self._frame
My question is about the line: _, self. _frame = self. _capture.Retrieve(). Because it has an underline and a comma before self. _frame = ... ?
Um, I still can’t figure out the syntax by reading this article. But thanks for the answer.
– Vinicius Gaio