{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/376","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/376/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/376/events","html_url":"https://github.com/mshabunin/test2/issues/376","id":95413268,"number":376,"title":"Add a way to detect circles grid with unknown size","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/category:%203d","name":"category: 3d","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/category:%20calibration","name":"category: calibration","color":"ededed"},{"url":"https://api.github.com/repos/mshabunin/test2/labels/feature","name":"feature","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-16T11:29:25Z","updated_at":"2015-07-16T11:29:25Z","closed_at":null,"body":"Transferred from http://code.opencv.org/issues/3237\r\n```\n|| Nikolay Tasev on 2013-08-26 11:00\n|| Priority: Normal\n|| Affected: None\n|| Category: calibration, 3d\n|| Tracker: Feature\n|| Difficulty: Medium\n|| PR: \n|| Platform: None / None\n```\n\nAdd a way to detect circles grid with unknown size\n-----------\n```\nThere should be a way to use findCirclesGrid() without knowing the pattern size.\r\nThis will be useful to detect or at least give a proposition for the user what is\r\nthe size of an unknown grid from a single frame. After the size is determined, the \r\ncalibration can proceed as before on multiple frames.\r\nI have looked in the latest source code for the symmetrical circle grid. The \r\nimplementation first detects the grid and then checks if it matches the pattern\r\nsize. If it doesn't just rejects it. So for an unknown size this restriction \r\nshould be removed and the detected grid should be returned.\n```\n\nHistory\n-------\n##### Steven Puttemans on 2013-08-26 11:12\n```\nFeel free to submit a pull request with the proposed adaptations. This is the quickest way to see your request integrated into the OpenCV source code. More information on how to do so, take a look at : http://code.opencv.org/projects/opencv/wiki/How_to_contribute\n```\n##### Alexander Shishkov on 2013-08-27 08:47\n```\nIlya, could you comment this issue?\n-   Difficulty changed from Easy to Medium\n-   Assignee set to Ilya Lysenkov\n```\n##### Alexander Shishkov on 2013-08-28 19:54\n```\n-   Status changed from New to Open\n```\n##### Ilya Lysenkov on 2013-09-02 07:09\n```\nI agree that such a feature could be useful but the pattern size is used a lot internally in the detection algorithms. Yes, we have the final check of the pattern size but former detection will not work out of the box in case of unknown pattern size. So this is not so easy to implement with current algorithms.\n```"}}