Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

Your pipeline work well with high quality image (scanned images) but not enough for captured images (smart phone, your case). You may consider 2 option:

  1. traditional image analyse
  2. Machine learning

  3. Traditional image analyse: this option is the same your pipeline except :

    • No Gaussian blur which will remove contours
    • No bilateralFilter because it is slow
    • Instead add some quality correction like constrast improvement, illumination correction.
    • Replace your adaptiveThreshold by Canny (see canny reference in Opencv)
  4. ML option, I would refer to EAST : https://github.com/argman/EAST.

Finally, regard your case, I will choose option 1 because it seems like your ID is cropped well.

Good luck.

Hi,

Your pipeline work works well with high quality image (scanned images) but not enough for captured images (smart phone, your case). You may consider 2 option: options:

  1. traditional image analyse
  2. Machine learning

  3. Traditional image analyse: this option is the same your pipeline except :

    • No Gaussian blur which will remove contours
    • No bilateralFilter because it is slow
    • Instead add some quality correction like constrast improvement, illumination correction.
    • Replace your adaptiveThreshold by Canny (see canny reference in Opencv)
  4. ML option, I would refer to EAST : https://github.com/argman/EAST.

Finally, regard your case, I will choose option 1 because it seems like your ID is cropped well.

Good luck.

Hi,

Your pipeline works well with high quality image (scanned images) but not enough for captured images (smart phone, your case). You may consider 2 options:

  1. traditional image analyse
  2. Machine learning

*. Traditional image analyse: this option is the same your pipeline except :

  • - No Gaussian blur which will remove contours
  • contours - No bilateralFilter because it is slow
  • slow - Instead add some quality correction like constrast improvement, illumination correction.
  • - Replace your adaptiveThreshold by Canny (see canny reference in Opencv)
  • *. ML option, I would refer to EAST : https://github.com/argman/EAST.

  • Finally, regard your case, I will choose option 1 because it seems like your ID is cropped well.

    Good luck.