Commit 31e77a3b authored by Andrey Kamaev's avatar Andrey Kamaev

Android native camera: added BGR output format; added methods to configure output frame size.

parent 1965b297
......@@ -392,9 +392,8 @@ enum
//supported by Android camera output formats
enum
{
CV_CAP_ANDROID_COLOR_FRAME = 1, //TODO: check RGB or BGR?
CV_CAP_ANDROID_GREY_FRAME = 0,
CV_CAP_ANDROID_YUV_FRAME = 2
CV_CAP_ANDROID_COLOR_FRAME = 0, //BGR
CV_CAP_ANDROID_GREY_FRAME = 1 //Y
};
/* retrieve or set capture properties */
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment