Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以向我解释这种语法在 python 中是如何工作的吗?据我所知, ret 存储一个布尔值,而 img 存储下一帧,但这如何促进。在 Python 中还有哪些其他地方可以使用此类功能?
ret, img = cap.read()