Skip to content

Commit

Permalink
Release 2.3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
marinPassio committed Nov 15, 2023
1 parent 7152fc7 commit 7252bc3
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Passio SDK

[![release](https://img.shields.io/badge/release-v2.3.11-brightgreen)](https://github.com/Passiolife/Passio-Nutrition-AI-Android-SDK-Distribution/releases/tag/v2.3.11) [![release](https://img.shields.io/badge/platform-Android-lightgray)]() [![release](https://img.shields.io/badge/minimum--suported--version-26-lightgray)](https://developer.android.com/about/versions/oreo) [![release](https://img.shields.io/badge/Kotlin-v1.6.10-informational)](https://github.com/JetBrains/kotlin/releases/tag/v1.6.10) [![release](https://img.shields.io/badge/codelab-Get_started-important)](https://musing-gates-4e7160.netlify.app/#0)
[![release](https://img.shields.io/badge/release-v2.3.13-brightgreen)](https://github.com/Passiolife/Passio-Nutrition-AI-Android-SDK-Distribution/releases/tag/v2.3.13) [![release](https://img.shields.io/badge/platform-Android-lightgray)]() [![release](https://img.shields.io/badge/minimum--suported--version-26-lightgray)](https://developer.android.com/about/versions/oreo) [![release](https://img.shields.io/badge/Kotlin-v1.6.10-informational)](https://github.com/JetBrains/kotlin/releases/tag/v1.6.10) [![release](https://img.shields.io/badge/codelab-Get_started-important)](https://musing-gates-4e7160.netlify.app/#0)

## Overview:

Expand Down
23 changes: 23 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

Full project was build with **Kotlin 1.6.10**

## V2.3.13

* Add support for German language pack

### Added APIs

* New flag in the ```PassioConfiguration``` object called ```enableLanguagePack```. If set to true, after SDK initializtion, if the phone locale is set to German will apply the German language pack. English is default.

* Added new API to set the language of the food items from the nutritional database. If set to AUTO, the phone locale is chosen.
```
fun setSDKLanguage(
context: Context,
language: SDKLanguage,
result: (languageSet: SDKLanguage?) -> Unit
)
enum class SDKLanguage(val code: String) {
AUTO("auto"),
EN("en"),
DE("de"),
}
```

## V2.3.11

* Fix ```PassioFoodItemData``` caching error.
Expand Down
71 changes: 71 additions & 0 deletions ReleaseNotesForModels.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,76 @@
# Passio SDK Release Notes for Models

## V2.3.13

* Number of food items recognized via HNN: 4106
* Nutrition database version: passio_nutrition.4107.0.301
* Number of products recognized via OCR: 27646

### New included HNN foods
```
black krim heirloom tomatoes
cooked japanese sweet potato
```

### Excluded HNN foods
```
clam chowder
gazpacho
tuna casserole
white pureed soups
```


## V2.3.11

Same models as 2.3.9

## V2.3.9
* Alcohol was added as nutrients for several alcoholic beverages.

## V2.3.7

* Number of food items recognized via HNN: 4108
* Nutrition database version: passio_nutrition.4109.0.301
* Number of products recognized via OCR: 25410

### New included HNN foods
```
cooked green pasta
lemon cupcake
mixed meat and veggie casserole
packaged ground meat
packaged sausages
salmon caesar salad
sliced sausages
```

### Excluded HNN foods
```
amaebi shrimp sashimi
beef casserole
bread with caramel spread
breakfast casserole
chicken casserole
fried chicken gizzards
fried snapper
great value sausage package
herring fillet
hot dog with melted cheese
kroger ground beef package
lavender cupcake
mexican casserole
packaged turkey bacon
raw cod fillet
raw crucian
walmart ground beef package
whole pizza caprese
```

## V2.3.5

Same models as 2.3.3

## V2.3.3

* Number of food items recognized via HNN: 4119
Expand Down

0 comments on commit 7252bc3

Please sign in to comment.