This repository contains code for Classification With Localization: Convert any Keras Classifier to a Detector blogpost.
You can also use this ready to run Colab Notebook.
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.