diff --git a/components/maixcam_lib/include/maix_nn_maixcam.hpp b/components/maixcam_lib/include/maix_nn_maixcam.hpp index 86857b6c..1b1d55f2 100644 --- a/components/maixcam_lib/include/maix_nn_maixcam.hpp +++ b/components/maixcam_lib/include/maix_nn_maixcam.hpp @@ -10,6 +10,7 @@ namespace maix::nn { public: NN_MaixCam(bool dual_buff); + NN_MaixCam(); ~NN_MaixCam(); /** @@ -76,6 +77,7 @@ namespace maix::nn bool _loaded; void *_data; bool _enable_dual_buff; + void _init(bool dual_buff = true); }; } // namespace maix::nn diff --git a/components/maixcam_lib/lib/libmaixcam_lib.so b/components/maixcam_lib/lib/libmaixcam_lib.so index 63035ff3..d2e2f624 100755 Binary files a/components/maixcam_lib/lib/libmaixcam_lib.so and b/components/maixcam_lib/lib/libmaixcam_lib.so differ