{"action":"created","issue":{"url":"https://api.github.com/repos/WeTransfer/WeScan/issues/80","repository_url":"https://api.github.com/repos/WeTransfer/WeScan","labels_url":"https://api.github.com/repos/WeTransfer/WeScan/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/WeTransfer/WeScan/issues/80/comments","events_url":"https://api.github.com/repos/WeTransfer/WeScan/issues/80/events","html_url":"https://github.com/WeTransfer/WeScan/pull/80","id":380205484,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNDU5NTY4","number":80,"title":"Add support to enhance the scanned image using AdaptiveThresholding","user":{"login":"justJS","id":19729335,"node_id":"MDQ6VXNlcjE5NzI5MzM1","avatar_url":"https://avatars1.githubusercontent.com/u/19729335?v=4","gravatar_id":"","url":"https://api.github.com/users/justJS","html_url":"https://github.com/justJS","followers_url":"https://api.github.com/users/justJS/followers","following_url":"https://api.github.com/users/justJS/following{/other_user}","gists_url":"https://api.github.com/users/justJS/gists{/gist_id}","starred_url":"https://api.github.com/users/justJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justJS/subscriptions","organizations_url":"https://api.github.com/users/justJS/orgs","repos_url":"https://api.github.com/users/justJS/repos","events_url":"https://api.github.com/users/justJS/events{/privacy}","received_events_url":"https://api.github.com/users/justJS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Boris-Em","id":4613643,"node_id":"MDQ6VXNlcjQ2MTM2NDM=","avatar_url":"https://avatars2.githubusercontent.com/u/4613643?v=4","gravatar_id":"","url":"https://api.github.com/users/Boris-Em","html_url":"https://github.com/Boris-Em","followers_url":"https://api.github.com/users/Boris-Em/followers","following_url":"https://api.github.com/users/Boris-Em/following{/other_user}","gists_url":"https://api.github.com/users/Boris-Em/gists{/gist_id}","starred_url":"https://api.github.com/users/Boris-Em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boris-Em/subscriptions","organizations_url":"https://api.github.com/users/Boris-Em/orgs","repos_url":"https://api.github.com/users/Boris-Em/repos","events_url":"https://api.github.com/users/Boris-Em/events{/privacy}","received_events_url":"https://api.github.com/users/Boris-Em/received_events","type":"User","site_admin":false},"assignees":[{"login":"Boris-Em","id":4613643,"node_id":"MDQ6VXNlcjQ2MTM2NDM=","avatar_url":"https://avatars2.githubusercontent.com/u/4613643?v=4","gravatar_id":"","url":"https://api.github.com/users/Boris-Em","html_url":"https://github.com/Boris-Em","followers_url":"https://api.github.com/users/Boris-Em/followers","following_url":"https://api.github.com/users/Boris-Em/following{/other_user}","gists_url":"https://api.github.com/users/Boris-Em/gists{/gist_id}","starred_url":"https://api.github.com/users/Boris-Em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boris-Em/subscriptions","organizations_url":"https://api.github.com/users/Boris-Em/orgs","repos_url":"https://api.github.com/users/Boris-Em/repos","events_url":"https://api.github.com/users/Boris-Em/events{/privacy}","received_events_url":"https://api.github.com/users/Boris-Em/received_events","type":"User","site_admin":false},{"login":"justJS","id":19729335,"node_id":"MDQ6VXNlcjE5NzI5MzM1","avatar_url":"https://avatars1.githubusercontent.com/u/19729335?v=4","gravatar_id":"","url":"https://api.github.com/users/justJS","html_url":"https://github.com/justJS","followers_url":"https://api.github.com/users/justJS/followers","following_url":"https://api.github.com/users/justJS/following{/other_user}","gists_url":"https://api.github.com/users/justJS/gists{/gist_id}","starred_url":"https://api.github.com/users/justJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justJS/subscriptions","organizations_url":"https://api.github.com/users/justJS/orgs","repos_url":"https://api.github.com/users/justJS/repos","events_url":"https://api.github.com/users/justJS/events{/privacy}","received_events_url":"https://api.github.com/users/justJS/received_events","type":"User","site_admin":false}],"milestone":null,"comments":28,"created_at":"2018-11-13T12:36:23Z","updated_at":"2018-11-20T12:50:59Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/WeTransfer/WeScan/pulls/80","html_url":"https://github.com/WeTransfer/WeScan/pull/80","diff_url":"https://github.com/WeTransfer/WeScan/pull/80.diff","patch_url":"https://github.com/WeTransfer/WeScan/pull/80.patch"},"body":"This pull request adds support to allow the user to enable an optional AdaptiveThresholding filter that greatly improves the quality of a scanned document.\r\n\r\nChanges:\r\n- Add an `enhance` `UIBarButtonItem` that allows the user to toggle the filter on or off\r\n- Add `AdaptiveThresholdingCIFilter`, which is a custom Core Image filter that applies the Adaptive Thresholding\r\n- Add `enhancedImage` and `doesUserPreferEnhancedImage` to `ImageScannerResults`.\r\n  - `doesUserPreferEnhancedImage` is whether the user had the filter enabled when they pressed `done`\r\n  - `enhancedImage` is always available, useful if for example the host app wants to use the enhanced image for OCR, even if the user doesn't prefer it\r\n\r\nExample (Filter VS No Filter):\r\n![image](https://user-images.githubusercontent.com/19729335/48413963-48548c80-e784-11e8-8e6e-0e50364558f2.png)\r\n"},"comment":{"url":"https://api.github.com/repos/WeTransfer/WeScan/issues/comments/440262357","html_url":"https://github.com/WeTransfer/WeScan/pull/80#issuecomment-440262357","issue_url":"https://api.github.com/repos/WeTransfer/WeScan/issues/80","id":440262357,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDI2MjM1Nw==","user":{"login":"jcampbell05","id":1484989,"node_id":"MDQ6VXNlcjE0ODQ5ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/1484989?v=4","gravatar_id":"","url":"https://api.github.com/users/jcampbell05","html_url":"https://github.com/jcampbell05","followers_url":"https://api.github.com/users/jcampbell05/followers","following_url":"https://api.github.com/users/jcampbell05/following{/other_user}","gists_url":"https://api.github.com/users/jcampbell05/gists{/gist_id}","starred_url":"https://api.github.com/users/jcampbell05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcampbell05/subscriptions","organizations_url":"https://api.github.com/users/jcampbell05/orgs","repos_url":"https://api.github.com/users/jcampbell05/repos","events_url":"https://api.github.com/users/jcampbell05/events{/privacy}","received_events_url":"https://api.github.com/users/jcampbell05/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T12:50:59Z","updated_at":"2018-11-20T12:50:59Z","author_association":"COLLABORATOR","body":"r.e the Asset Catalogs :) happy to come up with a solution for that and the PDFs with Fastlane. I'll open a PR later :) "}}
{"actor":{"display_login":"jcampbell05"}}