Patent attributes
An image inpainting method is performed at a computing device, the method including: displaying an original image, and determining a to-be-inpainted first original region and a second original region different from the first original region in the original image in accordance with a user input; identifying a target pixel and a target pixel block comprising the target pixel in the first original region; obtaining a target search region from the second original region according to the target pixel and the target pixel block comprising the target pixel, an area of the target search region being smaller than an area of the second original region; and searching the target search region for a reference pixel block matching the target pixel block and updating the original image by inpainting the target pixel block according to the reference pixel block, and displaying the updated image.