Check if image contains text

I want to detect and extroact texts in naturel image if it contains ,like google vision do.i found a library on githup that detect regions of image to find texts and after detection it does ocr. I want it to be faster and before text detection and extraction,I want to check if an image contains text or not. I know I can run OCR on it but I want it to be faster than that. If it contains text then it should OCR, if not it should discard the image. Any ideas?