Blur number plates
Hi,
If I have an image of a vechile say a car, is it possible to blur its number plates. I have been through the documentation of the OCR add-on. But in that you need to identify the location of the plate and give the transform parameters to blur it. But what I am looking for is an automated one. Like if I have a batch of images to upload then can the number plate be auto detected and blured?
Thanks in advance!
Answers
-
Hi,
There's an example here showing how to blur detected text automatically using the add-on https://cloudinary.com/documentation/ocr_text_detection_and_extraction_addon#blurring_or_pixelating_detected_text
This should work for any detected number plates, however it will also blur other text found in the image at the same time.If there is other text you want to keep, you'll need some way to identify just the number plate. The API response includes details about which text was detected, and where, so you could use that to decide to blur only text that matches the expected format of a number plate or is in the bottom X% of the image or similar.
It may also be possible via our Generative AI features, but I think you'll have the same issue with it removing all text unless the prompt or image are carefully matched:
Regards,
Stephen
0