シーン内に複数のオブジェクトを見つけたい(オブジェクトは同じように見えますが、縮尺や回転が異なり、検出されるオブジェクトが何であるかはわかりません)。私は作品のOpenCV、中featuredetectorsに基づいて、次のアイデアを実装している:複数のオブジェクトの検出(OpenCVを使用)
detect and compute keypoints from the object
for i < max_objects_todetect; i++
1. detect and compute keypoints from the whole scene
2. match scene and object keypoints with Flannmatcher
3. use findHomography/Ransac to compute the boundingbox of the first object (object which hast the most keypoints in the scene with multiple objects)
4. set the pixel in the scene, which are within the computed boundingbox to 0, -> in the next loopcycle there are no keypoints for this object to detect anymore.
この実装を通報します私はシーンのキーポイントの時間を計算するの多くを必要とする複数回(250msのを計算する必要があるということです)。誰もが複数のオブジェクトを検出するための良いアイデアを持っていますか?
おかげでDrian
どのような検出器とディスクリプタを使用していますか? –
今すぐSURF検出器とディスクリプタを使用 – Drian
代わりにORBを使用してください。SURFより高速です。しかし、あなたのイメージがどれほど正確かはわかりません。 –