Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory #1

Open
metou3 opened this issue Mar 28, 2021 · 1 comment
Open

No such file or directory #1

metou3 opened this issue Mar 28, 2021 · 1 comment

Comments

@metou3
Copy link

metou3 commented Mar 28, 2021

Task :app:compileFlutterBuildDebug
lib/colorTexture/detect_screen.dart:6:8: Error: Error when reading '/C:/Users/DELL/Downloads/sgpa_sem5/lib/colorTexture/camera_helper.dart': No such file or directory
import 'file:///C:/Users/DELL/Downloads/sgpa_sem5/lib/colorTexture/camera_helper.dart';
^
lib/colorTexture/detect_screen.dart:7:8: Error: Error when reading '/C:/Users/DELL/Downloads/sgpa_sem5/lib/colorTexture/tflite_helper.dart': No such file or directory
import 'file:///C:/Users/DELL/Downloads/sgpa_sem5/lib/colorTexture/tflite_helper.dart';
^
lib/colorTexture/detect_screen.dart:8:8: Error: Error when reading '/C:/Users/DELL/Downloads/sgpa_sem5/lib/colorTexture/result.dart': No such file or directory
import 'file:///C:/Users/DELL/Downloads/sgpa_sem5/lib/colorTexture/result.dart';
^
lib/colorTexture/detect_screen.dart:22:8: Error: Type 'Result' not found.
List outputs;
^^^^^^
lib/colorTexture/detect_screen.dart:97:49: Error: Type 'Result' not found.
Widget _buildResultsWidget(double width, List outputs) {
^^^^^^
lib/colorTexture/detect_screen.dart:22:8: Error: 'Result' isn't a type.
List outputs;
^^^^^^
lib/colorTexture/detect_screen.dart:26:5: Error: The getter 'TFLiteHelper' isn't defined for the class '_DetectScreenPageState'.

  • '_DetectScreenPageState' is from 'package:sgpa_sem5/colorTexture/detect_screen.dart' ('lib/colorTexture/detect_screen.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'TFLiteHelper'.
    TFLiteHelper.loadModel().then((value) {
    ^^^^^^^^^^^^
    lib/colorTexture/detect_screen.dart:28:9: Error: The getter 'TFLiteHelper' isn't defined for the class '_DetectScreenPageState'.
  • '_DetectScreenPageState' is from 'package:sgpa_sem5/colorTexture/detect_screen.dart' ('lib/colorTexture/detect_screen.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'TFLiteHelper'.
    TFLiteHelper.modelLoaded = true;
    ^^^^^^^^^^^^
    lib/colorTexture/detect_screen.dart:32:5: Error: The getter 'CameraHelper' isn't defined for the class '_DetectScreenPageState'.
  • '_DetectScreenPageState' is from 'package:sgpa_sem5/colorTexture/detect_screen.dart' ('lib/colorTexture/detect_screen.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'CameraHelper'.
    CameraHelper.initializeCamera();
    ^^^^^^^^^^^^
    lib/colorTexture/detect_screen.dart:36:5: Error: The getter 'TFLiteHelper' isn't defined for the class '_DetectScreenPageState'.
  • '_DetectScreenPageState' is from 'package:sgpa_sem5/colorTexture/detect_screen.dart' ('lib/colorTexture/detect_screen.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'TFLiteHelper'.
    TFLiteHelper.tfLiteResultsController.stream.listen(
    ^^^^^^^^^^^^
    lib/colorTexture/detect_screen.dart:47:13: Error: The getter 'CameraHelper' isn't defined for the class '_DetectScreenPageState'.
  • '_DetectScreenPageState' is from 'package:sgpa_sem5/colorTexture/detect_screen.dart' ('lib/colorTexture/detect_screen.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'CameraHelper'.
    CameraHelper.isDetecting = false;
    ^^^^^^^^^^^^
    lib/colorTexture/detect_screen.dart:71:17: Error: The getter 'CameraHelper' isn't defined for the class '_DetectScreenPageState'.
  • '_DetectScreenPageState' is from 'package:sgpa_sem5/colorTexture/detect_screen.dart' ('lib/colorTexture/detect_screen.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'CameraHelper'.
    future: CameraHelper.initializeControllerFuture,
    ^^^^^^^^^^^^
    lib/colorTexture/detect_screen.dart:77:31: Error: The getter 'CameraHelper' isn't defined for the class '_DetectScreenPageState'.
  • '_DetectScreenPageState' is from 'package:sgpa_sem5/colorTexture/detect_screen.dart' ('lib/colorTexture/detect_screen.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'CameraHelper'.
    CameraPreview(CameraHelper.camera),
    ^^^^^^^^^^^^
    lib/colorTexture/detect_screen.dart:92:5: Error: The getter 'TFLiteHelper' isn't defined for the class '_DetectScreenPageState'.
  • '_DetectScreenPageState' is from 'package:sgpa_sem5/colorTexture/detect_screen.dart' ('lib/colorTexture/detect_screen.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'TFLiteHelper'.
    TFLiteHelper.disposeModel();
    ^^^^^^^^^^^^
    lib/colorTexture/detect_screen.dart:93:5: Error: The getter 'CameraHelper' isn't defined for the class '_DetectScreenPageState'.
  • '_DetectScreenPageState' is from 'package:sgpa_sem5/colorTexture/detect_screen.dart' ('lib/colorTexture/detect_screen.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'CameraHelper'.
    CameraHelper.camera.dispose();
    ^^^^^^^^^^^^
    lib/colorTexture/detect_screen.dart:97:49: Error: 'Result' isn't a type.
    Widget _buildResultsWidget(double width, List outputs) {
@metou3
Copy link
Author

metou3 commented Mar 28, 2021

Hir Sir, can you kindly share these files? Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant