passiolife / flutter-nutrition-ai-module Goto Github PK
View Code? Open in Web Editor NEWPlug-and-Play
License: Other
Plug-and-Play
License: Other
Package validation found the following errors:
* line 1, column 1 of lib/src/common/util/date_time_utility.dart: This package does not have intl in the `dependencies` section of `pubspec.yaml`.
╷
1 │ import 'package:intl/intl.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
* line 3, column 1 of lib/src/common/util/double_extensions.dart: This package does not have intl in the `dependencies` section of `pubspec.yaml`.
╷
3 │ import 'package:intl/intl.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
* line 3, column 1 of lib/src/common/connectors/local_db_connector.dart: This package does not have intl in the `dependencies` section of `pubspec.yaml`.
╷
3 │ import 'package:intl/intl.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
* Your package is 188.7 MB. Hosted packages must be smaller than 100 MB.
The size issue is due to the 3 videos in the readme file. Please create lightweight gifs from these videos.
First steps:
@sahilmind Let's discuss here how to pass the SDK key from the example app to the plugin, to enable configuring the SDK from the app side. Please write a suggestion how to solve this issue
Camera flow:
If no results are returned from the recognition callback, show the scanning view below the viewfinder
If the results is a visual candidate, show the food name and the icon in the bottom sheet (the figma design has 2 names, but the SDK produces only one so we show the one). If the user pulls the bottom sheet up, the alternative list is displayed (again, the alternatives only have one name and the figma design doesn't take this into account).
To populate the list of alternatives we will use two different types of results: the list of detected candidates and the alternatives of the first detected candidate. The first detected candidate (the one with the highest confidence) is the main result that is show to the user. The alternatives are a list constructed as: other items in the list of detected candidates + alternatives of the first result.
If the user clicks on an alternative results we navigate to the Edit Food screen.
If the results is a product candidate, we fetch the full PassioFoodItem before displaying the item on the screen.
If the SDK produces a barcode or packaged food code, but we don't get a result for the nutritional data, we display the barcode not recognized screen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.