Integrate YOLOv8 object detection and instance segmentation to web applications