{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/mediacapture-image/issues/44","repository_url":"https://api.github.com/repos/w3c/mediacapture-image","labels_url":"https://api.github.com/repos/w3c/mediacapture-image/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/w3c/mediacapture-image/issues/44/comments","events_url":"https://api.github.com/repos/w3c/mediacapture-image/issues/44/events","html_url":"https://github.com/w3c/mediacapture-image/issues/44","id":171490223,"number":44,"title":"Extend `PhotoSettings` to support points/regions of interest for e.g. Auto Focus/Exposure","user":{"login":"miguelao","id":2168198,"avatar_url":"https://avatars.githubusercontent.com/u/2168198?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelao","html_url":"https://github.com/miguelao","followers_url":"https://api.github.com/users/miguelao/followers","following_url":"https://api.github.com/users/miguelao/following{/other_user}","gists_url":"https://api.github.com/users/miguelao/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelao/subscriptions","organizations_url":"https://api.github.com/users/miguelao/orgs","repos_url":"https://api.github.com/users/miguelao/repos","events_url":"https://api.github.com/users/miguelao/events{/privacy}","received_events_url":"https://api.github.com/users/miguelao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-16T18:52:36Z","updated_at":"2016-08-17T22:28:23Z","closed_at":"2016-08-17T22:28:23Z","body":"\r\n[`PhotoSettings`](https://w3c.github.io/mediacapture-image/#PhotoSettings)  can specify e.g. `FocusMode` and `ExposureMode` but not where in the current scene to use as seeds for either of these.  For example Android provides [regions for autofocus](https://developer.android.com/reference/android/hardware/camera2/CaptureRequest.html#CONTROL_AF_REGIONS) and for [autoexposure](https://developer.android.com/reference/android/hardware/camera2/CaptureRequest.html#CONTROL_AE_REGIONS)), and so does Mac AVFoundation ([autofocus point of interest](https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVCaptureDevice_Class/#//apple_ref/occ/instp/AVCaptureDevice/focusPointOfInterest) and [autoexposure point of interest](https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVCaptureDevice_Class/#//apple_ref/occ/instp/AVCaptureDevice/exposurePointOfInterest)). Consider adding provisions in `PhotoSettings` to indicate which point(s) or region(s) to use for these operations (probably in a normalized framework, i.e. coordinates ranging in `[0,1)` )"},"comment":{"url":"https://api.github.com/repos/w3c/mediacapture-image/issues/comments/240568769","html_url":"https://github.com/w3c/mediacapture-image/issues/44#issuecomment-240568769","issue_url":"https://api.github.com/repos/w3c/mediacapture-image/issues/44","id":240568769,"user":{"login":"gmandyam","id":2521531,"avatar_url":"https://avatars.githubusercontent.com/u/2521531?v=3","gravatar_id":"","url":"https://api.github.com/users/gmandyam","html_url":"https://github.com/gmandyam","followers_url":"https://api.github.com/users/gmandyam/followers","following_url":"https://api.github.com/users/gmandyam/following{/other_user}","gists_url":"https://api.github.com/users/gmandyam/gists{/gist_id}","starred_url":"https://api.github.com/users/gmandyam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmandyam/subscriptions","organizations_url":"https://api.github.com/users/gmandyam/orgs","repos_url":"https://api.github.com/users/gmandyam/repos","events_url":"https://api.github.com/users/gmandyam/events{/privacy}","received_events_url":"https://api.github.com/users/gmandyam/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T22:28:23Z","updated_at":"2016-08-17T22:28:23Z","body":"Addressed by https://github.com/w3c/mediacapture-image/pull/45/commits/d7bc9611057207d25fcef7d187c583a9d130749a"}}
{"actor":{"display_login":"gmandyam"}}