rainyl / opencv_dart

OpenCV bindings for Dart language and Flutter. Support Asynchronous Now!
https://pub.dev/packages/opencv_dart
Apache License 2.0
133 stars 18 forks source link

Split generated bindings to reduce the size of opencv.g.dart #145

Closed rainyl closed 4 months ago

rainyl commented 4 months ago

With Async APIs added, the size of opencv.g.dart now comes to ~1MB and ~39000 lines, which is too large, I am considering to split it to different files to reduce it's size.

Still in consideration, with the following plans:

Also, constants.g.dart may should also be reduced, move constants to corresponding modules. e.g., CALIB_* to calib3d module, CAP_* to video/videoio module