Skip to content

Commit 07075e0

Browse files
author
Thomas Reny
committed
Minor fixes
- README.md updated - Lib version 2.2 - App version 2.0.7
1 parent a6a2914 commit 07075e0

File tree

6 files changed

+29
-29
lines changed

6 files changed

+29
-29
lines changed

MultiChannelDetectionLibrary/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ plugins {
55

66
android {
77
compileSdkVersion 30
8-
buildToolsVersion "30.0.2"
8+
buildToolsVersion "30.0.3"
99

1010
defaultConfig {
1111
minSdkVersion 23
1212
targetSdkVersion 30
13-
versionCode 20
14-
versionName "2.0"
13+
versionCode 22
14+
versionName "2.2"
1515

1616
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1717
consumerProguardFiles "consumer-rules.pro"
@@ -38,7 +38,7 @@ dependencies {
3838
implementation 'androidx.core:core-ktx:1.3.2'
3939
implementation 'androidx.appcompat:appcompat:1.2.0'
4040
implementation 'com.google.android.material:material:1.3.0'
41-
testImplementation 'junit:junit:4.+'
41+
testImplementation 'junit:junit:4.13.2'
4242
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
4343
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
4444
implementation 'com.aldebaran:qisdk:1.7.5'

MultiChannelDetectionLibrary/src/main/java/com/softbankrobotics/multichanneldetectionlibrary/MultiChannelDetection.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import com.softbankrobotics.multichanneldetectionlibrary.utils.SaveFileHelper
2929
class MultiChannelDetection(activity: MultiChannelDetectionCallbacks) {
3030

3131
companion object {
32-
private const val TAG = "MSI_HumanDetection"
32+
private const val TAG = "MultiChannelDetection"
3333
// Save Map
3434
const val mapFileName = "mapData.txt"
3535
// Localize

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# Pepper Covid Assistant
1+
# MultiChannelDetection Library
22

33
## Library
44

5-
The module HumanDetection use both the native detection with the QiSDK and the library pepper-mask-detection to improve the detection of masked user.
5+
The module MultiChannelDetection uses both the native Human detection with the QiSDK and the library pepper-mask-detection to improve the detection of masked users.
6+
Regardless of the system detecting a human, this module will inform your application.
67

78
## How it work
89

@@ -22,7 +23,7 @@ Add the dependency on the face detection lib to your app build.gradle in the dep
2223

2324
```
2425
dependencies {
25-
implementation 'com.github.softbankrobotics-labs:MultiChannelDetectionLibrary:2.1'
26+
implementation 'com.github.softbankrobotics-labs:MultiChannelDetectionLibrary:2.2'
2627
}
2728
```
2829

@@ -36,7 +37,6 @@ class MainActivity : RobotActivity(), RobotLifecycleCallbacks, MultiChannelDetec
3637

3738
private val KEY_REQUEST_PERMISSION = 102
3839

39-
---
4040
}
4141
```
4242

@@ -187,7 +187,8 @@ List of options
187187

188188
## Application
189189

190-
Pepper Covid Assistant is a application for Pepper to prevent and inform about the Covid19 and show a use case of the mask detection library
190+
This repository contains the library and a sample app to explain how to use it.
191+
Pepper Covid Assistant is an application for Pepper to prevent and inform about the Covid19 and show a use case of the MultiChannelDetection library.
191192

192193
## Features
193194

@@ -215,7 +216,6 @@ Conversational Content
215216
* 'com.aldebaran:qisdk-conversationalcontent-greetings:0.19.1-experimental-05'
216217
* 'com.aldebaran:qisdk-conversationalcontent-askrobotname:0.19.1-experimental-05'
217218
* 'com.aldebaran:qisdk-conversationalcontent-robotabilities:0.19.1-experimental-05'
218-
* 'com.aldebaran:qisdk-conversationalcontent-notunderstood:0.19.1-experimental-05'
219219
* 'com.aldebaran:qisdk-conversationalcontent-repeat:0.19.1-experimental-05'
220220
* 'com.aldebaran:qisdk-conversationalcontent-volumecontrol:0.19.1-experimental-05'
221221

app/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-android-extensions'
44

55
android {
6-
compileSdkVersion 29
7-
buildToolsVersion "29.0.3"
6+
compileSdkVersion 30
7+
buildToolsVersion "30.0.3"
88

99
defaultConfig {
1010
applicationId "com.softbankrobotics.peppercovidassistant"
1111
minSdkVersion 23
12-
targetSdkVersion 29
13-
versionCode 206
14-
versionName "2.0.6"
12+
targetSdkVersion 30
13+
versionCode 207
14+
versionName "2.0.7"
1515
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1616
}
1717

@@ -45,10 +45,10 @@ dependencies {
4545
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
4646
implementation 'androidx.appcompat:appcompat:1.2.0'
4747
implementation 'androidx.core:core-ktx:1.3.2'
48-
implementation 'com.google.android.material:material:1.2.1'
48+
implementation 'com.google.android.material:material:1.3.0'
4949
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
5050

51-
testImplementation 'junit:junit:4.13'
51+
testImplementation 'junit:junit:4.13.2'
5252
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
5353
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
5454
implementation 'com.aldebaran:qisdk:1.7.5'
@@ -59,12 +59,12 @@ dependencies {
5959
implementation 'com.aldebaran:qisdk-conversationalcontent-greetings:0.19.1-experimental-05'
6060
implementation 'com.aldebaran:qisdk-conversationalcontent-askrobotname:0.19.1-experimental-05'
6161
implementation 'com.aldebaran:qisdk-conversationalcontent-robotabilities:0.19.1-experimental-05'
62-
implementation 'com.aldebaran:qisdk-conversationalcontent-notunderstood:0.19.1-experimental-05'
6362
implementation 'com.aldebaran:qisdk-conversationalcontent-repeat:0.19.1-experimental-05'
6463
implementation 'com.aldebaran:qisdk-conversationalcontent-volumecontrol:0.19.1-experimental-05'
6564

6665
//Google Gms Services
6766
implementation 'com.google.android.gms:play-services-vision:20.1.3'
6867

6968
implementation project(':MultiChannelDetectionLibrary')
69+
7070
}

app/src/main/java/com/softbankrobotics/peppercovidassistant/utils/ChatData.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ import kotlin.collections.HashMap
2727
* @param qiContext the activity qiContext
2828
* @param locale the android locale you want to build the chat in
2929
* @param topicNames the names of the .top file you want to use in this chat bot
30-
* @param conversationContents : the conversationalContents
30+
* @param conversationalContents : the conversationalContents
3131
* @param buildChat if you are running the chat in the same activity that builds this object
3232
*
3333
* this should be set to true, otherwise set it to false and use startChat
3434
*/
3535

3636
class ChatData(
37-
private val activity: Activity,
38-
private val qiContext: QiContext,
39-
private val locale: Locale,
40-
private val topicNames: List<String>,
41-
private val conversationContents: List<AbstractConversationalContent> = listOf(),
42-
private val buildChat: Boolean?
37+
private val activity: Activity,
38+
private val qiContext: QiContext,
39+
private val locale: Locale,
40+
private val topicNames: List<String>,
41+
private val conversationalContents: List<AbstractConversationalContent> = listOf(),
42+
private val buildChat: Boolean?
4343
)
4444
{
4545
private val topics: MutableMap<String, Topic>
@@ -106,7 +106,7 @@ class ChatData(
106106
chat = ConversationalContentChatBuilder.with(qiContext)
107107
.withChatbot(qiChatbot)
108108
.withLocale(qiLocale)
109-
.withConversationalContents(this.conversationContents)
109+
.withConversationalContents(this.conversationalContents)
110110
.build()
111111
}
112112

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ apply plugin: 'maven'
44
group = 'com.github.softbankrobotics-labs'
55

66
buildscript {
7-
ext.kotlin_version = "1.4.21"
7+
ext.kotlin_version = "1.4.32"
88
repositories {
99
google()
1010
jcenter()
1111
}
1212
dependencies {
13-
classpath "com.android.tools.build:gradle:4.1.1"
13+
classpath 'com.android.tools.build:gradle:4.1.3'
1414
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1515

1616
// NOTE: Do not place your application dependencies here; they belong

0 commit comments

Comments
 (0)