LivePortrait Load FaceAlignmentCropper
节点功能:脸部识别模型,该节点对动物脸部检测更加友好,图片中包含多张人脸时也更加友好LivePortrait Load
节点中英文对比
LivePortrait Load FaceAlignmentCropper
face_detector
landmarkrunner_device
face_detector_device
face_detector_dtype
keep_model_loaded
LivePortrait Load FaceAlignmentCropper
face_detector
landmarkrunner_device
face_detector_device
face_detector_dtype
keep_model_loaded
LivePortrait Load FaceAlignmentCropper - 参数说明
输出参数
cropper
初始化完成的人脸对齐裁剪器对象,可用于后续裁剪步骤。
控件参数
face_detector
指定用于人脸检测的模型类型。blazeface 是轻量快速模型,blazeface_back_camera 适用于后置相机图像,sfd 精度高但速度慢,适合对关键点要求更高的情况。
landmarkrunner_device
指定用于执行人脸关键点模型(landmark runner)的设备。推荐使用 torch_gpu 或 CUDA 获得更快推理速度。CoreML 适合 macOS/iOS 环境。
face_detector_device
指定人脸检测模型的执行设备。
face_detector_dtype
指定人脸检测模型的浮点精度。
keep_model_loaded
是否将模型常驻内存,避免每次调用时重复加载。若流程中会多次使用裁剪器,建议设为 True,提高效率。
暂无节点说明