@@ -105,37 +105,37 @@ Camera:为各个子库提供相机预览分析的核心库
105105
106106 ```gradle
107107
108- //公共库 (*必须) (1.3.0新增:当使用到MLKit下面的子库时,需依赖公共库)
109- implementation 'com.github.jenly1314.MLKit:mlkit-common:2.1 .0'
108+ //公共库 (*必须)
109+ implementation 'com.github.jenly1314.MLKit:mlkit-common:2.2 .0'
110110
111111 //--------------------------
112112
113113 //条码识别 (可选)
114- implementation 'com.github.jenly1314.MLKit:mlkit-barcode-scanning:2.1 .0'
114+ implementation 'com.github.jenly1314.MLKit:mlkit-barcode-scanning:2.2 .0'
115115
116116 //人脸检测 (可选)
117- implementation 'com.github.jenly1314.MLKit:mlkit-face-detection:2.1 .0'
117+ implementation 'com.github.jenly1314.MLKit:mlkit-face-detection:2.2 .0'
118118
119119 //人脸网格检测 (可选)
120- implementation 'com.github.jenly1314.MLKit:mlkit-face-mesh-detection:2.1 .0'
120+ implementation 'com.github.jenly1314.MLKit:mlkit-face-mesh-detection:2.2 .0'
121121
122122 //图像标签 (可选)
123- implementation 'com.github.jenly1314.MLKit:mlkit-image-labeling:2.1 .0'
123+ implementation 'com.github.jenly1314.MLKit:mlkit-image-labeling:2.2 .0'
124124
125125 //对象检测 (可选)
126- implementation 'com.github.jenly1314.MLKit:mlkit-object-detection:2.1 .0'
126+ implementation 'com.github.jenly1314.MLKit:mlkit-object-detection:2.2 .0'
127127
128128 //姿势检测 (可选)
129- implementation 'com.github.jenly1314.MLKit:mlkit-pose-detection:2.1 .0'
129+ implementation 'com.github.jenly1314.MLKit:mlkit-pose-detection:2.2 .0'
130130
131131 //姿势检测精确版 (可选)
132- implementation 'com.github.jenly1314.MLKit:mlkit-pose-detection-accurate:2.1 .0'
132+ implementation 'com.github.jenly1314.MLKit:mlkit-pose-detection-accurate:2.2 .0'
133133
134134 //自拍分割 (可选)
135- implementation 'com.github.jenly1314.MLKit:mlkit-segmentation-selfie:2.1 .0'
135+ implementation 'com.github.jenly1314.MLKit:mlkit-segmentation-selfie:2.2 .0'
136136
137137 //文字识别 (可选)
138- implementation 'com.github.jenly1314.MLKit:mlkit-text-recognition:2.1 .0'
138+ implementation 'com.github.jenly1314.MLKit:mlkit-text-recognition:2.2 .0'
139139
140140 ```
141141
@@ -311,12 +311,12 @@ BarcodeDecoder.process(bitmap).addOnSuccessListener(this) {
311311
312312#### JDK版本
313313
314- 需使用JDK11 +编译,在你项目中的build.gradle的android{}中添加配置:
314+ 需使用JDK8 +编译,在你项目中的build.gradle的android{}中添加配置:
315315
316316``` gradle
317317compileOptions {
318- sourceCompatibility JavaVersion.VERSION_11
319- targetCompatibility JavaVersion.VERSION_11
318+ sourceCompatibility JavaVersion.VERSION_1_8
319+ targetCompatibility JavaVersion.VERSION_1_8
320320}
321321```
322322
@@ -329,6 +329,11 @@ compileOptions {
329329
330330## 版本记录
331331
332+ #### v2.2.0:2024-7-11
333+ * 更新CameraScan至v1.2.0
334+ * 更新ViewfinderView至v1.2.0
335+ * 更新MLKit相关依赖库版本
336+
332337#### v2.1.0:2023-12-31
333338* 更新CameraScan至v1.1.0
334339* 更新compileSdkVersion至34
0 commit comments