This question already has an answer here:

How to validate user entered captcha and image captcha validation.

marked as duplicate by Manoj Deswal, Piyush, Manashvi Birla, Keyur Shah, Prince Patel Jan 16 '18 at 8:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.