我的工作包括检测飞轮轮廓中存在的故障 . 更精确地说,存在于方向盘轮廓上的齿的表面上 .

我想拍摄一个方向盘轮廓的视频,我想最终从这个视频中提取照片,结果将是一个包含牙齿的图像,其中包含一些我不需要它的细节 .

I only need to extract the tooth so I can compare it after with a non-defective tooth to conclude if there is or there isn't a defect ,因为我只需要锯齿而且齿形是矩形的,所以我需要做一个矩形的识别 .

我使用Eclipse C和OpenCV .

现在我正在关注this tutorial

Example image

enter image description here

Expected result

enter image description here