Closed create-li closed 3 years ago
facesdk_readModelFromFile(ModelType::Detect, "../models/palm_detection_builtin.bin", ImageFormat::RGB); //读取模型 std::cout << "handsdfd:" << std::endl; sdkHand3d hands = facesdk_handdetect(data);//手部检测 使用sdkHand3d hands = facesdk_handdetect(data);//手部检测但是会出现Segmentation fault (core dumped)错误? 请问这个如何解决
facesdk_readModelFromFile(ModelType::Detect, "../models/palm_detection_builtin.bin", ImageFormat::RGB); //读取模型 std::cout << "handsdfd:" << std::endl; sdkHand3d hands = facesdk_handdetect(data);//手部检测
ModelType::Detect 改为 ModelType::HandDetect
嗯谢谢
facesdk_readModelFromFile(ModelType::Detect, "../models/palm_detection_builtin.bin", ImageFormat::RGB); //读取模型 std::cout << "handsdfd:" << std::endl; sdkHand3d hands = facesdk_handdetect(data);//手部检测
使用sdkHand3d hands = facesdk_handdetect(data);//手部检测但是会出现Segmentation fault (core dumped)错误? 请问这个如何解决