PFLD轻量人脸关键点检测:从原理到ONNX部署的完整实践
2026/9/28 17:15:57
static void lpt_timeout(void *arg) { struct lpt_data *sc = arg; device_t lpt_dev = sc->sc_dev; if (sc->sc_state & LP_OPEN) { sc->sc_ticks++; if (sc->sc_ticks > hz / LP_TOUT_MAX) sc->sc_ticks = hz / LP_TOUT_MAX; callout_reset(&sc->sc_callout, sc->sc_ticks, lpt_timeout, sc); } else sc->sc_state &= ~LP_TIMEOUT; if (sc->sc_state & LP_ERROR) sc->sc_state &= ~LP_ERROR; if (sc->s