{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/29","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/29/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/29/events","html_url":"https://github.com/mshabunin/test2/issues/29","id":95430333,"number":29,"title":"Add API to enumerate cameras","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:%20highgui-camera","name":"category: highgui-camera","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-16T13:13:11Z","updated_at":"2015-07-16T13:13:11Z","closed_at":null,"body":"Transferred from http://code.opencv.org/issues/935\r\n```\n|| Rune Espeseth on 2011-03-08 10:27\n|| Priority: Normal\n|| Affected: None\n|| Category: highgui-camera\n|| Tracker: Feature\n|| Difficulty: \n|| PR: \n|| Platform: None / None\n```\n\nAdd API to enumerate cameras\n-----------\n```\nOpenCV should have an API to enumerate cameras. Without it, writing programs that support non-fixed hardware is not possible.\r\n\r\nThe point of this API is to retrieve information about the cameras attached to the system:\r\n- NumberOf\r\n- Name of each camera (can be used for user-selection in a GUI)\r\n- Resolution of each camera\r\n- other properties.\r\n\r\nIt will then be possible to write programs (f.i. surveillance software) that support 1 to any number of cameras instead of requiring a given number of cameras.\n```\n\nHistory\n-------\n##### Alexander Shishkov on 2012-02-12 21:12\n```\n-   Description changed from [[OpenCV]] should have an API to enumerate\n    cameras. Without it, writing progr... to OpenCV should have an API\n    to enumerate cameras. Without it, writing programs ... More\n```\n##### Alexander Reshetnikov on 2012-04-25 14:27\n```\n-   Priority changed from High to Normal\n-   Assignee set to Vadim Pisarevsky\n```\n##### Andrey Kamaev on 2012-08-16 15:23\n```\n-   Category changed from highgui-images to highgui-camera\n```\n##### Neil Jansen on 2015-02-03 04:59\n```\nHi, I know this issue has been open for a while, but is there any chance that it could be fixed easily?  It would be very helpful for those of us using machine vision with more than 1 camera.  I am even willing to place a cash bounty on this bug if necessary (tried to do it at bountysource.com, but they don't support the ChiliProject bug tracking platform that OpenCV uses...).  Thanks!\n```\n##### Steven Puttemans on 2015-02-03 09:29\n```\nDepending on which camera type you are using this already exists. The recently adapted PvAPI interface of Allied Vision Technology cameras does exactly this. No idea if other do it or not.\n```"}}