{"action":"created","issue":{"url":"https://api.github.com/repos/adamtheturtle/vws-python/issues/769","repository_url":"https://api.github.com/repos/adamtheturtle/vws-python","labels_url":"https://api.github.com/repos/adamtheturtle/vws-python/issues/769/labels{/name}","comments_url":"https://api.github.com/repos/adamtheturtle/vws-python/issues/769/comments","events_url":"https://api.github.com/repos/adamtheturtle/vws-python/issues/769/events","html_url":"https://github.com/adamtheturtle/vws-python/issues/769","id":358276610,"node_id":"MDU6SXNzdWUzNTgyNzY2MTA=","number":769,"title":"Implement query endpoint","user":{"login":"adamtheturtle","id":797801,"node_id":"MDQ6VXNlcjc5NzgwMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/797801?v=4","gravatar_id":"","url":"https://api.github.com/users/adamtheturtle","html_url":"https://github.com/adamtheturtle","followers_url":"https://api.github.com/users/adamtheturtle/followers","following_url":"https://api.github.com/users/adamtheturtle/following{/other_user}","gists_url":"https://api.github.com/users/adamtheturtle/gists{/gist_id}","starred_url":"https://api.github.com/users/adamtheturtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamtheturtle/subscriptions","organizations_url":"https://api.github.com/users/adamtheturtle/orgs","repos_url":"https://api.github.com/users/adamtheturtle/repos","events_url":"https://api.github.com/users/adamtheturtle/events{/privacy}","received_events_url":"https://api.github.com/users/adamtheturtle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-08T08:34:59Z","updated_at":"2018-09-08T08:35:00Z","closed_at":null,"author_association":"OWNER","body":"---\n\nMigrated from https://github.com/adamtheturtle/vws-python/issues/357\nOriginally created by @adamtheturtle on *Tue, 26 Dec 2017 19:05:20 GMT*\n\n---\nhttps://library.vuforia.com/articles/Solution/How-To-Perform-an-Image-Recognition-Query.\r\n\r\n- [x] Normal query with no results\r\n- [x] Duplicate the tests for `test_unexpected_headers` (WIP)\r\n- [X] max_num_results errors (out of range)\r\n- [X] include_target_data error handling (wrong values)\r\n- [X] Bad / missing content type\r\n- [x] max_num_results errors (wrong type, including `2147483648` which Java does not consider an integer)\r\n- [X] Explicit `Accept` headers for encoding\r\n- [X] Normal query with results\r\n- [X] Image not sent\r\n- [X] Extra fields sent\r\n- [X] Active flag - can we match inactive targets?\r\n- [X] Match processing target\r\n- [X] Java error (see example)\r\n- [X] Metadata in query result\r\n- [X] Test old image not matched after updating image\r\n- [X] Timestamp is when target was updated, not just created\r\n- [X] `include_target_data` working\r\n- [X] `max_num_results` working\r\n- [X] Unsupported image type\r\n- [X] Test querying a target with Target status: Success: False\r\n- [X] See \"BadImage\" example in comments\r\n- [X] Maximum size PNG\r\n- [x] Maximum size JPG\r\n- [X] Test querying an inactive database\r\n- [ ] Maximum megapixels\r\n- [ ] Test querying a target with a low quality image and a SUCCESS status\r\n- [ ] Gateway error (see example)\r\n- [ ] `include_target_data` of length 30000+ sometimes has a \"chunked\" response.\r\n- [ ] `include_target_data` error handling (wrong type, wrong encoding)\r\n- [ ] Test maximum/minimum image width / height - see comment\r\n"},"comment":{"url":"https://api.github.com/repos/adamtheturtle/vws-python/issues/comments/419623782","html_url":"https://github.com/adamtheturtle/vws-python/issues/769#issuecomment-419623782","issue_url":"https://api.github.com/repos/adamtheturtle/vws-python/issues/769","id":419623782,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTYyMzc4Mg==","user":{"login":"adamtheturtle","id":797801,"node_id":"MDQ6VXNlcjc5NzgwMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/797801?v=4","gravatar_id":"","url":"https://api.github.com/users/adamtheturtle","html_url":"https://github.com/adamtheturtle","followers_url":"https://api.github.com/users/adamtheturtle/followers","following_url":"https://api.github.com/users/adamtheturtle/following{/other_user}","gists_url":"https://api.github.com/users/adamtheturtle/gists{/gist_id}","starred_url":"https://api.github.com/users/adamtheturtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamtheturtle/subscriptions","organizations_url":"https://api.github.com/users/adamtheturtle/orgs","repos_url":"https://api.github.com/users/adamtheturtle/repos","events_url":"https://api.github.com/users/adamtheturtle/events{/privacy}","received_events_url":"https://api.github.com/users/adamtheturtle/received_events","type":"User","site_admin":false},"created_at":"2018-09-08T08:35:00Z","updated_at":"2018-09-08T08:35:00Z","author_association":"OWNER","body":"---\n\nMigrated from https://github.com/adamtheturtle/vws-python/issues/357#issuecomment-397885750\nOriginally created by @adamtheturtle on *Sun, 17 Jun 2018 15:18:20 GMT*\n\n---\nFind max / min width and height:\r\n\r\n```\r\n    # # Look at history to find what max size was, I think it was\r\n    # 835^2 or 836^2\r\n    # # This gives 422 on real, 200 on mock\r\n    # width = 1\r\n    # height = int(max_size / 2)\r\n```"}}
{"actor":{"display_login":"adamtheturtle"}}