SWSW 最近的时间轴更新
SWSW

SWSW

V2EX 第 460850 号会员,加入于 2019-12-23 16:55:03 +08:00
SWSW 最近回复了
替换思维,或者直接捉订阅
315 天前
回复了 ColoThor 创建的主题 Android 一加氢系统相册疑似人脸识别日志
从这段 Gallery 应用的日志来看,它确实加载了人脸检测的模型,并且与 SDK 的 group id 进行了映射。

==================================================
315 天前
回复了 ColoThor 创建的主题 Android 一加氢系统相册疑似人脸识别日志
这段日志主要是 OnePlus 手机上的 Gallery 应用启动时的日志信息。可以看出:

1. Gallery 应用在启动时请求了读写存储以及网络连接的权限:
OPGalleryApplication zygote64 D [Property] IsH2PermissionRequested(id=6) : false -> true
OPGalleryApplication zygote64 D [Property] IsWriteStoragePermissionGranted(id=3) : false -> true
OPGalleryApplication zygote64 D [Property] IsReadStoragePermissionGranted(id=1) : false -> true
OPGalleryApplication zygote64 D [Property] IsNetworkConnected(id=9) : false -> true

2. Gallery 启动了几个服务,如 CloudGalleryService 、SceneDetectorService 等:
ActivityManager system_server I Start proc 21979:com.oneplus.gallery:cloud/u0a167 for service {com.oneplus.gallery/com.oneplus.gallery2.cloud.CloudGalleryService}
ActivityManager system_server I Start proc 22027:com.oneplus.gallery:contentdetector/u0a167 for service {com.oneplus.gallery/com.oneplus.gallery2.contentdetection.service.SceneDetectorService}

3. Gallery 加载了图像分类和人脸检测的模型:
ClassifyAPI com.oneplus.gallery:contentdetector D classify model path:/data/user/0/com.oneplus.gallery/files/gallery_v0.7.0.model
STVideoClipAPI com.oneplus.gallery:contentdetector I classify model path :/data/user/0/com.oneplus.gallery/files/M_Video_Keyclip_Cnn_v2.0.0_1280.model

4. Gallery 启动 RenderScript 进行图像处理:
RenderScri...Adaptation com.oneplus.gallery:contentdetector D IRenderScriptDevice::getService()
RenderScri...Adaptation com.oneplus.gallery:contentdetector D Using Fallback Path.
RenderScript com.oneplus.gallery:contentdetector D Setting cache dir: /data/user_de/0/com.oneplus.gallery/code_cache

5. Gallery 加载了人脸检测所需要的 Gallery group 与 SDK group 的映射表:
STFaceDetectorImpl com.oneplus.gallery:contentdetector E initGalleryGroupTable() - Gallery Group ID -> SDK Group ID : 1 -> 3
STFaceDetectorImpl com.oneplus.gallery:contentdetector E initGalleryGroupTable() - Gallery Group ID -> SDK Group ID : 2 -> 4
所以,整段日志主要描述了 OnePlus Gallery 应用在启动过程中加载所需资源、启动服务、申请权限等步骤。
2022-09-23 14:59:03 +08:00
回复了 oblivion 创建的主题 宽带症候群 江苏电信 5000M 宽带体验
壕无人性.....羡慕!!!~
2022-08-05 15:49:15 +08:00
回复了 aaa5838769 创建的主题 Windows windows 12 pro
懂了!微软的设计师平常都是用苹果电脑的
2019-12-23 22:31:14 +08:00
回复了 fghjghf 创建的主题 程序员 最新版微信出 bug 了?
Play 版可以
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   951 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 21:34 · PVG 05:34 · LAX 14:34 · JFK 17:34
Developed with CodeLauncher
♥ Do have faith in what you're doing.