Image Processing: Algorithm Improvement for 'Coca-Cola Can' Recognition

前端 未结 23 1514
后悔当初
后悔当初 2020-11-22 09:26

One of the most interesting projects I\'ve worked on in the past couple of years was a project about image processing. The goal was to develop a system to be able to recogni

23条回答
  •  一个人的身影
    2020-11-22 09:59

    I like the challenge and wanted to give an answer, which solves the issue, I think.

    1. Extract features (keypoints, descriptors such as SIFT, SURF) of the logo
    2. Match the points with a model image of the logo (using Matcher such as Brute Force )
    3. Estimate the coordinates of the rigid body (PnP problem - SolvePnP)
    4. Estimate the cap position according to the rigid body
    5. Do back-projection and calculate the image pixel position (ROI) of the cap of the bottle (I assume you have the intrinsic parameters of the camera)
    6. Check with a method whether the cap is there or not. If there, then this is the bottle

    Detection of the cap is another issue. It can be either complicated or simple. If I were you, I would simply check the color histogram in the ROI for a simple decision.

    Please, give the feedback if I am wrong. Thanks.

提交回复
热议问题