V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ColoThor
V2EX  ›  Android

一加氢系统相册疑似人脸识别日志

  •  
  •   ColoThor · 2023-05-18 10:06:25 +08:00 · 10974 次点击
    这是一个创建于 556 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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
    ActivityManager system_server I ProcessRecord{9be75c 0:com.oneplus.communication.data/u0a103}: disable GPU RLIMIT_STACK_MASK, pkg=com.oneplus.communication.data
    ActivityManager system_server I Start proc 21912:com.oneplus.communication.data/u0a103 for content provider {com.oneplus.communication.data/com.oneplus.communication.data.ScanProvider}
    ActivityManager system_server I ProcessRecord{fe65208 0:com.oneplus.gallery:cloud/u0a167}: disable GPU RLIMIT_STACK_MASK, pkg=com.oneplus.gallery
    ActivityManager system_server I Start proc 21979:com.oneplus.gallery:cloud/u0a167 for service {com.oneplus.gallery/com.oneplus.gallery2.cloud.CloudGalleryService}
    OPGalleryApplication zygote64 D [Property] IsNetworkConnected(id=9) : false -> true
    NetworkManagerImpl zygote64 D [Property] IsNetworkConnected(id=31) : false -> true
    ActivityManager system_server I ProcessRecord{4b2676f 0:com.oneplus.gallery:contentdetector/u0a167}: disable GPU RLIMIT_STACK_MASK, pkg=com.oneplus.gallery
    ActivityManager system_server I Start proc 22027:com.oneplus.gallery:contentdetector/u0a167 for service {com.oneplus.gallery/com.oneplus.gallery2.contentdetection.service.SceneDetectorService}
    OPGalleryApplication pid-21941 D [Property] IsH2PermissionRequested(id=6) : false -> true
    OPGalleryApplication pid-21941 D [Property] IsWriteStoragePermissionGranted(id=3) : false -> true
    OPGalleryApplication pid-21941 D [Property] IsReadStoragePermissionGranted(id=1) : false -> true
    OPGalleryApplication pid-21941 D [Property] IsNetworkConnected(id=9) : false -> true
    FaceDetectorService pid-22027 E onCreate()
    TVCloudMediaSource zygote64 D [Property] IsSupported(id=24) : false -> true
    CloudMediaSource zygote64 D [Property] IsSupported(id=23) : false -> true
    Intercepte...ogProvider pid-21863 D call oneplus InterceptedCallLogProvider provider,method:migrate_old_intercepted_calls_from_security,caller:com.oneplus.dialer, isSystemApp = true
    Intercepte...ogProvider pid-21863 I delete Uri = content://com.oneplus.communication.interception.InterceptedCallLogProvider/intercepted_calls, match = 20
    linker com.oneplus.gallery:contentdetector W Warning: "/system_ext/priv-app/OnePlusGallery/OnePlusGallery.apk!/lib/arm64-v8a/libcvimage_api_OnePlus.so" unused DT entry: DT_RPATH (type 0xf arg 0x21d75) (ignoring)
    ClassifyAPI com.oneplus.gallery:contentdetector D initLiscenceStr:
    ############################################################
    # SenseTime License
    # License Product: SZMobileImageSDK
    # Expiration: 18000101~22000101
    # License SN: a3129821-289e-4ec1-af01-ca1a04ac72a2
    ############################################################
    sGfddyRWAr/4AyWHm2S9LT7nssp/v+sFwysocB81LdvXbOOmqdHf5v+afGsa
    VjgaY7i0iacdYlsLn8wIe+2LPYa1VSwhNzHLvIdqxExyi3U+aMCxuG9l0nwq
    Uz6TOK3BxJxiCqPrR7EboZ1cLOuGBzt2I9iTbUNUbbnAjae9swBvNv/rAQAA
    AAEAAAADTWhnh7gk9TWgX9q0zwdHol4yVRp5508EYj34TwZQT7dYwFiagfRV
    pHWVhMVQUBcjsv6xGbqUZRvndJqZtrNJq8/kO1sIuvmBEzC7EHDYfPQ2GOVX
    CZbCqiG3nbM7UZEBrgEyHV33jfYYxEmZqXOWf1HKOECoOk8JCqWitIRP4KrI
    UQTkfcOW/gZ7x5eWu/Zv/0bkj8uU4L7eqFGe5+/7eXDaUxWRxPrplFZVcPDP
    fLTs0p4AMnmCUsIDIOv3uarBQIsrl/9Oady1zKwrmcS0OUpL7rgGkQgcelI5
    vEiiegON8+AaNORKAB9Yxbkd57t/MenKK7fFZlaHdh/SITyDAQABAAAAAAAD
    AAAAAAAAAAAAAABp9keTHRStNX3egfGyk6GzPgSIOi006u58iOJSJe8hC1SY
    o6VDErX+o2LkeP+uuTuT+nAOGS20NfSi1fWBkWffDLxevy7ZS2e1Qrz42qot
    nOPwU4tWPUMuR+mplHoNuCB4h+FnhMu/wQ72k9zyhZfLnBtAVmEHEHvz0KyR
    II5VVx+qCumg2
    STVideoClipAPI com.oneplus.gallery:contentdetector I JNI OnLoad result : -1
    ClassifyAPI com.oneplus.gallery:contentdetector I classify model path: /data/user/0/com.oneplus.gallery/files/gallery_v0.7.0.model
    ClassifyAPI com.oneplus.gallery:contentdetector I classify map data path: /data/user/0/com.oneplus.gallery/files/label_map_v0.7.0.db
    ClassifyAPI com.oneplus.gallery:contentdetector I classify label data path: /data/user/0/com.oneplus.gallery/files/label_name.txt
    CVSDK com.oneplus.gallery:contentdetector I ---CVSDK:Gallery SDK from Research Department of Intelligent Perception and Interaction
    CVSDK com.oneplus.gallery:contentdetector I ---CVSDK:Supporting OnePlus
    sensetime-sdk com.oneplus.gallery:contentdetector E [2023-05-18 09:27:52.760] [stsdk-logger] [error] [/data/autobuild/package/f133165e7cc8407bb6eb24e3dfdb8a4d/sdk_model/src/ModelCustom.cpp line #45] loading pca model pca.bin fails
    sensetime-sdk com.oneplus.gallery:contentdetector E [2023-05-18 09:27:52.760] [stsdk-logger] [error] [/data/autobuild/package/f133165e7cc8407bb6eb24e3dfdb8a4d/sdk_model/src/ModelLoader.cpp line #211] pca model init fails
    FaceDetectorService com.oneplus.gallery:contentdetector E detectFaceFromFile() - File Path: /storage/emulated/0/Pictures/Screenshots/Screenshot_20230518-083708.jpg
    FaceDetectorService com.oneplus.gallery:contentdetector E detectFaceFromFile() - File Path: /storage/emulated/0/Pictures/Screenshots/Screenshot_20230517-222254.jpg
    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
    STVideoClipAPI com.oneplus.gallery:contentdetector I st_video_keyclip_create result = 0,
    RenderScri...Adaptation com.oneplus.gallery:contentdetector D IRenderScriptDevice::getService()
    RenderScri...Adaptation com.oneplus.gallery:contentdetector D IRenderScriptDevice::getService() returned 0x0
    RenderScri...Adaptation com.oneplus.gallery:contentdetector D Using Fallback Path.
    contentdetecto com.oneplus.gallery:contentdetector D Successfully queried cache dir: /data/user_de/0/com.oneplus.gallery/code_cache
    RenderScript com.oneplus.gallery:contentdetector D Setting cache dir: /data/user_de/0/com.oneplus.gallery/code_cache
    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
    STFaceDetectorImpl com.oneplus.gallery:contentdetector E initGalleryGroupTable() - Gallery Group ID -> SDK Group ID : 3 -> 5
    STFaceDetectorImpl com.oneplus.gallery:contentdetector E initGalleryGroupTable() - Gallery Group ID -> SDK Group ID : 4 -> 6
    STFaceDetectorImpl com.oneplus.gallery:contentdetector E initGalleryGroupTable() - Gallery Group ID -> SDK Group ID : 5 -> 7
    ClassifyAPI com.oneplus.gallery:contentdetector D load image info is 1080 2400 0x75900a6040
    ClassifyAPI com.oneplus.gallery:contentdetector D count 1
    ClassifyAPI com.oneplus.gallery:contentdetector D score 0.000000
    ClassifyAPI com.oneplus.gallery:contentdetector D load image info is 1080 2400 0x758f6c0040
    ClassifyAPI com.oneplus.gallery:contentdetector D count 1
    ClassifyAPI com.oneplus.gallery:contentdetector D score 0.000000
    21 条回复    2023-05-19 16:32:57 +08:00
    jhmmm123
        1
    jhmmm123  
       2023-05-18 10:08:28 +08:00 via Android
    有详细一点的解释吗…单纯贴一段算什么…
    totoro52
        2
    totoro52  
       2023-05-18 10:10:47 +08:00
    要做分类啊, 小米的也有,授权后就会识别人类并自动分相册, 这个功能是你自己打开的,苹果也有
    sadfQED2
        3
    sadfQED2  
       2023-05-18 10:12:37 +08:00 via Android
    一加相册有按人分类的功能,有人脸识别日志难道有什么问题吗
    ColoThor
        4
    ColoThor  
    OP
       2023-05-18 10:26:38 +08:00
    识别前判断了是否有网络,图库设置只有如下:
    1 、照片排序选项:拍摄时间、添加时间
    2 、应用相册自动排序开关,功能描述:开启后应用相册会根据照片更新时间自动调整排序
    ColoThor
        5
    ColoThor  
    OP
       2023-05-18 10:32:33 +08:00
    另外我关闭云同步功能,一加账号、一加云服务应用被我冻结了
    leaves7i
        6
    leaves7i  
       2023-05-18 12:43:57 +08:00
    @ColoThor #5

    别说了,我用第三方文件管理器删照片,时间越长空间越小。全盘扫描发现是一加给删除的文件全放到一个“回收站”里去了。问题是我已经给相册冻结了,它还是往里面放。并且系统相册和文件管理器里都没有这个“照片和视频回收站”的选项开关……

    一加系统就是个盲盒,不需要它的功能还是刷原生好一点。
    yolee599
        7
    yolee599  
       2023-05-18 13:09:37 +08:00 via Android
    现在手机相册都有根据人脸分类的功能了,有人脸识别不奇怪
    vivisidea
        8
    vivisidea  
       2023-05-18 13:41:32 +08:00
    /data/user/0/com.oneplus.gallery/files/label_name.txt
    vivisidea
        9
    vivisidea  
       2023-05-18 13:42:47 +08:00
    /data/user/0/com.oneplus.gallery/files/label_name.txt
    可以看下这个文件内容,看起来是文件分类的,用了商汤的 sdk ,根据人脸分类也很常见
    justfindu
        10
    justfindu  
       2023-05-18 13:44:06 +08:00
    iOS 都不给我关 你还能看到日志
    admingyu
        11
    admingyu  
       2023-05-18 14:13:21 +08:00
    安装个存储空间隔离发现半夜相册会扫描照片
    CCKNIGHT
        12
    CCKNIGHT  
       2023-05-18 14:38:28 +08:00
    我把卡片机又充上电了
    SWSW
        13
    SWSW  
       2023-05-18 15:00:59 +08:00
    这段日志主要是 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 应用在启动过程中加载所需资源、启动服务、申请权限等步骤。
    SWSW
        14
    SWSW  
       2023-05-18 15:04:26 +08:00
    从这段 Gallery 应用的日志来看,它确实加载了人脸检测的模型,并且与 SDK 的 group id 进行了映射。

    ==================================================
    ColoThor
        15
    ColoThor  
    OP
       2023-05-18 17:12:18 +08:00
    @vivisidea 文件内容:
    未定义 unknown
    动物 animal
    宠物 pet
    狗 dog
    猫 cat
    植物 plant
    花 flowers
    草 grass
    树 tree
    风景 landscape
    山区 mountain
    海洋 ocean
    建筑 building
    餐厅 restaurant
    酒吧 bar
    运动场 playground
    健身房 gym
    博物馆 museum
    商店 store
    机场 airport
    衣服 clothes
    包 package
    化妆品 cosmetics
    眼镜 glasses
    珠宝首饰 jewelry
    交通工具 vehicle
    车 car
    船 ship
    食物 food
    西餐 western_food
    海鲜 seafood
    水果 fruit
    酒 wine
    红酒 Red_wine
    乐器 musical_instrument
    钢琴 piano
    电器 electronics
    数码产品 digital_product
    手机 cellphone
    电脑 computer
    相机 camera
    文字 text
    幻灯片 PPT
    截图 screenshots
    活动 activity
    运动 sport
    聚餐 dinner
    婚礼 wedding
    演出 performance
    鸟 bird
    鱼 fish
    玫瑰 rose
    樱花 sakura
    烟花 firework
    夜景 Night
    瀑布 waterfall
    天空 sky
    雪景 snow
    日出日落 sunset
    教堂 church
    寺庙 temple
    塔 tower
    亭 pavilion
    宫殿 palace
    未定义 unknown
    游乐场 amusement_park
    海洋馆 aquariums
    动物园 zoo
    裙子 skirt
    婚纱 wedding_dress
    汽车 automobile
    火车 train
    未定义 unknown
    甜点 dessert
    寿司 sushi
    火锅 hot_pot
    烧烤 barbecue
    文档 document
    地图 map
    绘画 painting
    卡通 cartoon
    舞蹈 dance
    唱歌_音乐 sing
    生日 birthday
    未定义 unknown
    人 person
    宝宝 baby
    鞋 shoes
    帽子 hat
    证件 certificate
    身份证 ID_card
    银行卡 bank_card
    票据收据 voucher
    ColoThor
        16
    ColoThor  
    OP
       2023-05-18 17:20:43 +08:00
    @vivisidea 调用商汤 sdk 需要联网吗
    luhe
        17
    luhe  
       2023-05-18 19:19:46 +08:00 via iPhone
    @ColoThor 没有能力做本地识别不就得联网么
    jKpzPv20NjX56i44
        18
    jKpzPv20NjX56i44  
       2023-05-18 22:50:11 +08:00
    想要本地识别现在还很难实现吧...
    jKpzPv20NjX56i44
        19
    jKpzPv20NjX56i44  
       2023-05-18 22:52:52 +08:00
    其实,既然你这么关心隐私问题,最应该做的是装第三方 rom+MicroG 和 Selfhost 。
    psklf
        20
    psklf  
       2023-05-19 09:57:13 +08:00
    本来就有识别人脸的功能。
    vivisidea
        21
    vivisidea  
       2023-05-19 16:32:57 +08:00
    @qwerzl 本地识别很早就有了,手机跑一个轻量的模型完全没问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2431 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 02:17 · PVG 10:17 · LAX 18:17 · JFK 21:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.