3dc77799a5
Also added in the model for initial use, and working to create the inferences off of TFLite using that view.
11 lines
268 B
Dart
11 lines
268 B
Dart
import 'dart:ui';
|
|
|
|
class CameraViewSingleton {
|
|
static double ratio = 0.0;
|
|
static Size screenSize = const Size(0, 0);
|
|
static Size inputImageSize = const Size(0, 0);
|
|
|
|
static Size get actualPreviewSize =>
|
|
Size(screenSize.width, screenSize.width * ratio);
|
|
}
|