OAID / TengineKit

TengineKit - Free, Fast, Easy, Real-Time Face Detection & Face Landmarks & Face Attributes & Hand Detection & Hand Landmarks & Body Detection & Body Landmarks & Iris Landmarks & Yolov5 SDK On Mobile.
Other
2.38k stars 318 forks source link

Linux版本运行报错 #75

Open 307509256 opened 2 years ago

307509256 commented 2 years ago

./build/FaceSDKDemo resources/image/1.jpg terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)

pengfeidip commented 2 years ago

同,我也遇到这个问题,我是在Ubuntu20上

pengfeidip commented 2 years ago

./build/FaceSDKDemo resources/image/1.jpg terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)

我跑通了,是因为路径问题(文档不对). 需要在tengineKit/linux 下面执行demo才行,具体的看一下源码demo.cpp