{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/946","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/946/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/946/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/946/events","html_url":"https://github.com/mshabunin/test2/issues/946","id":96099189,"number":946,"title":"LatentSVM DPM models trained by Pedro Felzenszwalb","user":{"login":"opencv-pushbot","id":2051563,"avatar_url":"https://avatars.githubusercontent.com/u/2051563?v=3","gravatar_id":"","url":"https://api.github.com/users/opencv-pushbot","html_url":"https://github.com/opencv-pushbot","followers_url":"https://api.github.com/users/opencv-pushbot/followers","following_url":"https://api.github.com/users/opencv-pushbot/following{/other_user}","gists_url":"https://api.github.com/users/opencv-pushbot/gists{/gist_id}","starred_url":"https://api.github.com/users/opencv-pushbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencv-pushbot/subscriptions","organizations_url":"https://api.github.com/users/opencv-pushbot/orgs","repos_url":"https://api.github.com/users/opencv-pushbot/repos","events_url":"https://api.github.com/users/opencv-pushbot/events{/privacy}","received_events_url":"https://api.github.com/users/opencv-pushbot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-20T16:14:37Z","updated_at":"2015-07-20T16:14:37Z","closed_at":null,"body":"Transferred from http://code.opencv.org/issues/1799\r\n```\n|| long long yu on 2012-04-15 19:03\n|| Priority: Normal\n|| Affected: None\n|| Category: objdetect\n|| Tracker: Bug\n|| Difficulty: None\n|| PR: None\n|| Platform: None / None\n```\n\nLatentSVM DPM models trained by Pedro Felzenszwalb\n-----------\n```\nHi everyone!\r\n\r\nI trained one person detector model usingo the matlab code provided by Pedro Felzenszwalb. I converted the mat format model into xml format model in order to test some pictures using opencv latentsvm detector.\r\n\r\nSo, after some tests, I found out that the opencv version detect much more false positive than matlab version...\r\n\r\nThe experiment consist of: \r\n\r\n1) testing opencv version + trained_model.xml\r\n2) testing matlab version + trained_model.mat\r\n\r\nI attached two images...\r\n\r\nwell, some possible bug would be:\r\n\r\n1) the converted model from *.mat into *.xml doens't work.\r\n2) there is a bug in the opencv code.\n```\n\nHistory\n-------\n##### Joel Mckay on 2012-04-16 08:38\n```\n> 1) the converted model from *.mat into *.xml doens't work.\r\nUnlikely, as the training data-set ROI import program I wrote creates the same issues for numerous SVM experiments (auto-generates VOC format XML files in C++ with no MatLab run-time needed... related ticket: http://code.opencv.org/issues/1750 ).\r\n\r\n> 2) there is a bug in the opencv code. \r\nOpenCV at one time allowed one to setup the SVM training configuration in ways that were never meant to be compatible (assuming it will run). Additionally, if you exceed 20 classes or around 10000 images the example code may not complete training the SVM. \r\nI have been trying to replicate the heisenbug to exclude my development environment, but have yet to collect meaningful bug data for the OpenCV team (takes some time to run). \r\n\r\n\r\n\r\nBest of luck,\r\nJ\n```\n##### Andrey Kamaev on 2012-04-17 13:19\n```\n-   Category set to objdetect\n```\n##### long long yu on 2012-04-17 22:02\n```\nThank you Andrey!\r\n\r\nI will check the svm implementation of Lsvm ;)\n```\n##### Kirill Kornyakov on 2012-04-28 15:18\n```\n-   Tracker changed from Feature to Bug\n```\n##### Johnson chen on 2015-05-09 13:56\n```\nlong long yu wrote:\r\n> Thank you Andrey!\r\n> \r\n> I will check the svm implementation of Lsvm ;)\r\n\r\nI have the same question when I use the latentsvmdetect in opencv2.10.\r\nI can not detect the object using OpenCV ,while I can detect it in the Matlab.\r\nWhat's wrong ?\r\n楼主的问题解决了吗？我现在在Matlab中可以检测目标，但是，在OpenCV中无法检测到，或者漏检率很高，这是什么原因？是不是OpenCV的检测程序需要修改参数？？？\n```"}}