擅长:python、mysql、java
<p>我没有这方面的经验,但据我从文档中了解,有一些方法可以控制您的相机是否翻转视频,以下是来自<a href="http://www.pygame.org/docs/tut/CameraIntro.html" rel="nofollow noreferrer">tutorial</a>的评论:</p>
<blockquote>
<p><strong>Using Camera Controls</strong></p>
<p>Most cameras support controls like flipping the image and changing brightness.
set_controls() and get_controls() can be used at any point after using start().</p>
<p><code>cam.set_controls(hflip = True, vflip = False)</code></p>
</blockquote>
<p>希望这是你的案子。在</p>
<p>我在代码中注意到的另一个奇怪的地方是,在定义相机时使用分辨率(640480),但在定义显示yo use(480640)时,这是故意的还是只是错误的?在</p>
<p>还有类似的<a href="https://stackoverflow.com/a/31642586/6420643">question/answer</a>可能会对你有更多帮助。它有指向同一主题的nice<a href="http://blog.danielkerris.com/?p=225" rel="nofollow noreferrer">blog</a>的链接。在</p>