A CNN-Based Framework for Detection and Recognition of Objects Using Transfer Learning: A Case Study on Flower Recognition