This document describes a method for automatically generating CAPTCHA images using OpenCV. It utilizes warping and random number generation to distort alphanumeric characters in a CAPTCHA image. First, warping is used to distort the input image shape. Then it is rotated by a random angle up to 30 degrees. Salt and pepper noise is added to strengthen it against character recognition algorithms. The method concatenates 5 randomly transformed characters to generate the final CAPTCHA image.