> ## Content Index
> Fetch the complete content index at: https://yinguobing.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# Google Mobile Vision API需要网络连接
- URL: https://yinguobing.com/blog/google-mobile-vision-require-internet-connection/
- Published: 2017-03-08T04:19:52.000Z
- Updated: 2022-05-29T08:45:57.000Z
- Description: 采用Google Mobile Vision API来进行人脸检测，在做真机测试的时候无法在图片中标记出人脸，是因为第一次运行需要在线下载文件。
- Author: 尹国冰
- Tags: Android

采用Google Mobile Vision API来进行人脸检测，在做真机测试的时候无法在图片中标记出人脸。在Android Studio的Android Monitor状态栏中显示：

```
Local module descriptor class for com.google.android.gms.vision.dynamite not found

```

这个原因是Googl Mobile Service在第一次检测人脸的时候，需要在线下载一些文件。在没有网络连接的情况下，会提示上述错误。具体可参考：[https://github.com/googlesamples/android-vision/issues/164](https://github.com/googlesamples/android-vision/issues/164?ref=yinguobing.com)