Developing a segmentation system that works effectively across different domains was a significant challenge. Deep learning models required extensive training and computational power, while classical methods needed fine-tuning for edge and region precision. Achieving a seamless integration that maintains speed, accuracy, and generalizability pushed the limits of both algorithm design and system optimization.