Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • So the preview resolution is the resolition which is shown on display, but not the one which i am working on bevor display the processed image?
    – Pm740
    Commented Dec 18, 2017 at 21:38
  • 1
    No, it's exactly the resolution you get from the camera. You don't get a pixel more (or less). For display, the picture may be scaled up or down to fit the 'window'. But your onCameraFrame() callback gets inputFrame whose width and height are not allowed to exceed the MaxFrameSize you have chosen (width - 240, height - 180).
    – Alex Cohn
    Commented Dec 18, 2017 at 23:38
  • Then a 180p preview frame should have a better perfromance than a 720p one, right?
    – Pm740
    Commented Feb 10, 2018 at 16:48