{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/227","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/227/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/227/events","html_url":"https://github.com/mshabunin/test2/issues/227","id":95439614,"number":227,"title":"Default behavior of iOS video camera is to not use preview layer","user":{"login":"mshabunin","id":3304494,"avatar_url":"https://avatars.githubusercontent.com/u/3304494?v=3","gravatar_id":"","url":"https://api.github.com/users/mshabunin","html_url":"https://github.com/mshabunin","followers_url":"https://api.github.com/users/mshabunin/followers","following_url":"https://api.github.com/users/mshabunin/following{/other_user}","gists_url":"https://api.github.com/users/mshabunin/gists{/gist_id}","starred_url":"https://api.github.com/users/mshabunin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshabunin/subscriptions","organizations_url":"https://api.github.com/users/mshabunin/orgs","repos_url":"https://api.github.com/users/mshabunin/repos","events_url":"https://api.github.com/users/mshabunin/events{/privacy}","received_events_url":"https://api.github.com/users/mshabunin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mshabunin/test2/labels/auto-transferred","name":"auto-transferred","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/category:%20ios","name":"category: ios","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/priority:%20normal","name":"priority: normal","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-16T13:59:48Z","updated_at":"2015-07-16T13:59:48Z","closed_at":null,"body":"Transferred from http://code.opencv.org/issues/2623\r\n```\n|| Aditya Sankar on 2012-12-12 00:12\n|| Priority: Normal\n|| Affected: None\n|| Category: ios\n|| Tracker: Bug\n|| Difficulty: None\n|| PR: \n|| Platform: None / None\n```\n\nDefault behavior of iOS video camera is to not use preview layer\n-----------\n```\nThis conflicts with the tutorial posted here: http://docs.opencv.org/doc/tutorials/ios/video_processing/video_processing.html\r\n\r\nTo resolve, users must manually enable preview layer use with: \r\n\r\n@self.videoCamera.useAVCaptureVideoPreviewLayer = YES;@\r\n\r\nProposed fix in root/modules/highgui/src/cap_ios_video_camera.mm Line 87:\r\n@self.useAVCaptureVideoPreviewLayer = YES;@\n```\n\nHistory\n-------\n##### Alexander Shishkov on 2012-12-12 09:52\n```\n-   Target version deleted (2.4.4)\n```"}}