Building a Safety Net for Healthcare: Enhancing Medical Mask Compliance with AI