AoP-SAM: Automation of Prompts for Efficient Segmentation