{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/57","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/57/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/57/events","html_url":"https://github.com/mshabunin/test2/issues/57","id":95394803,"number":57,"title":"CascadeClassifier object, load from memory","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-16T09:44:06Z","updated_at":"2015-07-16T09:44:06Z","closed_at":null,"body":"Converted from http://code.opencv.org/issues/1354\r\n```\n|| Benjamin Ross on 2011-09-02 03:41\n|| Priority: High\n|| Affected: None\n|| Category: objdetect\n|| Tracker: Feature\n|| Difficulty: None\n|| PR: \n|| Platform: None / None\n```\n\nCascadeClassifier object, load from memory\n-----------\n```\nLoading a CascadeClassifier object from the hard drive can be slow anc reate problems. This becomes apparent when multiple threads are running and each one must load the same xml file over and over. If we can pre-load an xml file, and then load each individual CascadeClassifier from memory, this would speed things up.\n```\n\nHistory\n-------\n##### Benjamin Ross on 2011-09-02 09:40\n```\nThis ticket refers to the old format xml files that are shipped with opencv. I know that there is a FileStorage object, however this will not load the \"old\" style xml files, only the new files.\n```\n##### Alexander Shishkov on 2012-02-12 08:33\n```\n- attribute/description: Loading a [[CascadeClassifier]] object from the hard drive can be slow anc reate problems. This becomes apparent when multiple threads are running and each one must load the same xml file over and over. If we can pre-load an xml file, and then load each individual [[CascadeClassifier]] from memory, this would speed things up. -> Loading a CascadeClassifier object from the hard drive can be slow anc reate problems. This becomes apparent when multiple threads are running and each one must load the same xml file over and over. If we can pre-load an xml file, and then load each individual CascadeClassifier from memory, this would speed things up.\n```\n##### Marina Kolpakova on 2012-10-14 10:19\n```\n- attribute/assigned_to_id: 19 -> 994\n```\n##### Marina Kolpakova on 2013-04-05 11:29\n```\n- attribute/assigned_to_id: 994 -> None\n```"}}