{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/68","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/68/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/68/events","html_url":"https://github.com/mshabunin/test2/issues/68","id":95395551,"number":68,"title":"Can't use BRIEF descriptor in BOW unless....","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:%20features2d","name":"category: features2d","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-16T09:46:28Z","updated_at":"2015-07-16T09:46:28Z","closed_at":null,"body":"Converted from http://code.opencv.org/issues/1451\r\n```\n|| Bruno Nascimento on 2011-10-27 02:13\n|| Priority: Normal\n|| Affected: None\n|| Category: features2d\n|| Tracker: Feature\n|| Difficulty: None\n|| PR: None\n|| Platform: None / None\n```\n\nCan't use BRIEF descriptor in BOW unless....\n-----------\n```\ncommenting the line 2455 in features2d.hpp CV_Assert( DataType<ValueType>::type == matcher.trainDescCollection[iIdx].type() ||  matcher.trainDescCollection[iIdx].empty() );\r\n\r\nand line 351 in matchers.cpp CV_Assert( queryDescriptors.type() == CV_32FC1 ||  queryDescriptors.empty() );\r\n\r\nThis happens because the brief descriptor results in integers, and BOW is expecting to use floats.\n```\n\nHistory\n-------\n##### Alexander Shishkov on 2012-02-12 08:19\n```\n- attribute/description: commenting the line 2455 in features2d.hpp CV_Assert( [[DataType]]<ValueType>::type == matcher.trainDescCollection[iIdx].type() ||  matcher.trainDescCollection[iIdx].empty() );\r\n\r\nand line 351 in matchers.cpp CV_Assert( queryDescriptors.type() == CV_32FC1 ||  queryDescriptors.empty() );\r\n\r\nThis happens because the brief descriptor results in integers, and BOW is expecting to use floats.\r\n  -> commenting the line 2455 in features2d.hpp CV_Assert( DataType<ValueType>::type == matcher.trainDescCollection[iIdx].type() ||  matcher.trainDescCollection[iIdx].empty() );\r\n\r\nand line 351 in matchers.cpp CV_Assert( queryDescriptors.type() == CV_32FC1 ||  queryDescriptors.empty() );\r\n\r\nThis happens because the brief descriptor results in integers, and BOW is expecting to use floats.\n```\n##### Alexander Shishkov on 2012-03-21 11:34\n```\n- attribute/fixed_version_id: None -> 2\n```\n##### Alexander Shishkov on 2012-03-22 02:33\n```\n- attribute/fixed_version_id: 2 -> None\n```"}}