rainy liu
rainy liu
I guess maybe GC is not triggered, you can inspect it in DevTools, in my test, pure dart programs triggered GC less than Flutter and may take several GB memory...
> my code went and took 6gb, when refactored it kept going up until 40 gb which then crashed, so i guess that not normal and there is something wrong...
> I am having a lot of problems with understanding what should be a pointer and what should not, as you can see from the code. Classes like Stitcher, it...
 Maybe this will be better? Passing the wrapped struct to functions directly, no need to get the internal object in cv::Ptr anymore.
> i see that you used ptrs across all instead of the objects themselves is that correct? yes, pass the wrapped structs to functions instead of objects, just same as...
> make the cmake download the libs when launching or compiling the app? For windows and linux it is reasonable, but android, ios and macos doesn't use cmake, I am...
> > > make the cmake download the libs when launching or compiling the app? > > > > > > For windows and linux it is reasonable, but android,...
@abdelaziz-mahdy If you just need CascadeClassifier, it is included in objdetect module, and has been implemented, https://docs.opencv.org/4.x/d1/de5/classcv_1_1CascadeClassifier.html https://github.com/rainyl/opencv_dart/blob/4af53eabbd7cd077b4f27d77de7b109186b78ec7/lib/src/objdetect/objdetect.dart#L15 https://github.com/rainyl/opencv_dart/blob/4af53eabbd7cd077b4f27d77de7b109186b78ec7/test/objdetect_test.dart#L6 It seems training machine learning models using python and other tools...
:smile:
wow, you are the author of pytorch_lite, cool 👍 For the questions: 1. Branch Selection: develop on a new branch based on `main`, it is easy to update `native-assets` once...