资讯

Replace absolute path (s) for haarcascade_frontalface_default.xml with a relative path using pathlib or os.path. Add a small check to ensure the cascade file loads (helpful for debugging).