Synology Moments 相關資訊及討論串

好像都沒整合的消息出現?
不知道還要等多久

CUNNING wrote:
好像都沒整合的消息...(恕刪)


應該沒有那麼快吧. 至少現在當務之急是 DSM 6.2 正式版推出....
FB: Pctine

CUNNING wrote:
好像都沒整合的消息出現?
不知道還要等多久...(恕刪)


DSM 6.2 正式版推出後. Moments 總算整合了 Photo Station 相片庫進來. 只要在 Moments 的設定中勾選共用相片庫, 就能自動去將 /photo 原目錄下的相片做 AI 識別及分類.
FB: Pctine
moments log file

這裡純粹是做為筆記之用.

moments 的 log file:
/var/log/synophoto.log

moments log file 中各名詞說明
在 moments log file 可看到內部程式所使用的各專有名詞.


root@ds218plus:/var/log# cat synophoto.log
2018-05-27T16:44:03+08:00 ds218plus synoscgi_SYNO.Photo.Setting.User_2_set[8833]: /source/synophoto/src/webapi/module/Photo/Setting/user_setting.cpp:214 User admin(1024) enable GeoCoding
#enable 自動建立相簿. 地點辨別

2018-05-27T16:44:03+08:00 ds218plus synoscgi_SYNO.Photo.Setting.User_2_set[8833]: /source/synophoto/src/webapi/module/Photo/Setting/user_setting.cpp:219 User admin(1024) enable FaceExtraction
#enable 人物辨識

2018-05-27T16:44:03+08:00 ds218plus synoscgi_SYNO.Photo.Setting.User_2_set[8833]: /source/synophoto/src/webapi/module/Photo/Setting/user_setting.cpp:224 User admin(1024) enable ConceptDetection
#enable 主題辨識


2018-05-27T16:44:19+08:00 ds218plus synoscgi_SYNO.PhotoTeam.Setting.User_1_set[9110]: /source/synophoto/src/webapi/module/PhotoTeam/Setting/user_setting.cpp:91 Team Library(/volume1/photo) enable GeoCoding
2018-05-27T16:44:19+08:00 ds218plus synoscgi_SYNO.PhotoTeam.Setting.User_1_set[9110]: /source/synophoto/src/webapi/module/PhotoTeam/Setting/user_setting.cpp:95 Team Library(/volume1/photo) enable FaceExtraction
2018-05-27T16:44:19+08:00 ds218plus synoscgi_SYNO.PhotoTeam.Setting.User_1_set[9110]: /source/synophoto/src/webapi/module/PhotoTeam/Setting/user_setting.cpp:99 Team Library(/volume1/photo) enable ConceptDetection
#上面是 enable 共用相片庫 /photo 自動建立相簿功能


2018-05-27T16:57:50+08:00 ds218plus synoscgi_SYNO.PhotoTeam.Index_2_reindex[13548]: /source/synophoto/src/webapi/lib/index/index.cpp:53 User admin(1024) trigger reindex: all [/volume1/photo/]
#user手動重新建立索引


2018-05-27T17:00:12+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:170 ConceptSenderQueue Consuming, concept count = 824
#824 張相片待做主題識別

2018-05-27T17:00:59+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/person/face_extraction_queue.cpp:284 FaceExtractionQueue Consuming, count = 824
#824 張相片待做人物識別


2018-05-27T17:00:59+08:00 ds218plus synophoto-face-extraction: /source/synophoto-plugin-face/src/face_plugin/main.cpp:21 face plugin init
2018-05-27T17:01:22+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/person/face_extraction_queue.cpp:218 FaceExtractionQueue Collecting
2018-05-27T17:01:52+08:00 ds218plus synophoto-face-extraction: /source/synophoto-plugin-face/src/face_plugin/main.cpp:27 face plugin shutdown
#開始做人物辨識, 以及最後結束(shutdown)程式.


2018-05-27T17:02:12+08:00 ds218plus synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:21 detection plugin init
2018-05-27T17:02:22+08:00 ds218plus synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:22 clustering plugin init
2018-05-27T17:02:52+08:00 ds218plus synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:28 clustering plugin shutdown
#猜測應該是將人物辨識的結果做匯總分類.


2018-05-27T17:16:59+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:177 ConceptSenderQueue Collecting
2018-05-27T17:17:34+08:00 ds218plus synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:27 detection plugin shutdown
#最後全部完成識別.

FB: Pctine

pctine wrote:
DSM 6.2 正...(恕刪)


感謝通知
Moments performance 筆記

ps: 由於官方並未提供 Moments 技術文件, 以下為自己分析及猜測的結果.

一開始啟用 Moments 時, 並將大量相片上傳至 NAS 時, 系統即開始針對相片做 AI 識別及分類. 到底 Moments 做了那些事?

下面是自動分類後的結果. 基本上 Moments 是從最簡單的工作開始做.

1.縮圖.
2.相片日期時間 index. (時間軸)
3.影片分類及標籤(tag)分類: 這部份工作很簡單, 將相片的 tag 加以 index.
4.地點分類: 這是分析相片中的 gps 資訊.
5.人臉辨識. 包括人臉抽取及分析及歸類
6.主題分析: 這應該是最花系統資源的, log 中是以 'concept' 一詞稱之.
(上述的分析有些是並行在跑的)




以下是利用 ds218+ 針對 2530 張自己所拍相片做實驗. 檔案總容量約 9.77GB, 丟給 Moments 分析及自動分類.

DS218+, Moments 1.1.2-0511 版: 特別用舊版的做一次.

root@ds218plus:/var/log# cat synophoto.log
2018-05-27T19:56:07+08:00 ds218plus synoscgi_SYNO.Photo.Index_2_reindex[21649]: /source/synophoto/src/webapi/module/Index/index.cpp:66 User admin(1024) trigger reindex: all
2018-05-27T19:56:09+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:209 ThumbSenderQueue Collecting
2018-05-27T19:56:57+08:00 ds218plus synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:29 detection plugin shutdown
2018-05-27T20:00:51+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:202 ThumbSenderQueue Consuming, face count = 1000, concept count = 0
2018-05-27T20:00:51+08:00 ds218plus synophoto-face-extraction: /source/synophoto-plugin-face/src/face_plugin/main.cpp:21 face plugin init
2018-05-27T20:09:08+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:209 ThumbSenderQueue Collecting
2018-05-27T20:09:09+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:202 ThumbSenderQueue Consuming, face count = 1530, concept count = 2530
2018-05-27T20:18:31+08:00 ds218plus synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:22 clustering plugin init
2018-05-27T20:20:42+08:00 ds218plus synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:23 detection plugin init
2018-05-27T20:21:16+08:00 ds218plus synophoto-face-extraction: /source/synophoto-plugin-face/src/face_plugin/main.cpp:27 face plugin shutdown
2018-05-27T20:22:25+08:00 ds218plus synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:28 clustering plugin shutdown
2018-05-27T20:23:31+08:00 ds218plus synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:22 clustering plugin init
2018-05-27T20:24:01+08:00 ds218plus synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:28 clustering plugin shutdown
2018-05-27T21:27:25+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:209 ThumbSenderQueue Collecting
2018-05-27T21:28:01+08:00 ds218plus synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:29 detection plugin shutdown


DS218+ 搭 Moments 舊版, 01:31:54


DS218+, Moments 1.2.0-0638: 新版支援 Intel Computer Vision SDK.

root@ds218plus:/var/log# cat synophoto.log
2018-05-27T21:59:25+08:00 ds218plus synoscgi_SYNO.Photo.Index_2_reindex[22616]: /source/synophoto/src/webapi/lib/index/index.cpp:53 User admin(1024) trigger reindex: all [/var/services/homes/admin/Drive/Moments/]
2018-05-27T22:01:53+08:00 ds218plus synophoto-bin-update-sphere: /source/synophoto/src/bin/update_sphere.cpp:90 [UpdateSphere] << admin(id: 1, uid: 1024)
2018-05-27T22:04:03+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:170 ConceptSenderQueue Consuming, concept count = 1000
2018-05-27T22:04:03+08:00 ds218plus synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:21 detection plugin init
2018-05-27T22:05:19+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/person/face_extraction_queue.cpp:284 FaceExtractionQueue Consuming, count = 2530
2018-05-27T22:05:20+08:00 ds218plus synophoto-face-extraction: /source/synophoto-plugin-face/src/face_plugin/main.cpp:21 face plugin init
2018-05-27T22:06:00+08:00 ds218plus synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:27 detection plugin shutdown
2018-05-27T22:25:27+08:00 ds218plus synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:22 clustering plugin init
2018-05-27T22:27:19+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/person/face_extraction_queue.cpp:218 FaceExtractionQueue Collecting
2018-05-27T22:27:32+08:00 ds218plus synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:21 detection plugin init
2018-05-27T22:27:52+08:00 ds218plus synophoto-face-extraction: /source/synophoto-plugin-face/src/face_plugin/main.cpp:27 face plugin shutdown
2018-05-27T22:28:22+08:00 ds218plus synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:28 clustering plugin shutdown
2018-05-27T22:29:28+08:00 ds218plus synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:22 clustering plugin init
2018-05-27T22:29:58+08:00 ds218plus synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:28 clustering plugin shutdown
2018-05-27T22:44:55+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:177 ConceptSenderQueue Collecting
2018-05-27T22:44:56+08:00 ds218plus synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:170 ConceptSenderQueue Consuming, concept count = 1530


DS218+ 搭新版 Moments, 費時 45:31


DS3018xs, Moments 1.2.0 新版

root@ds3018xs:/var/log# cat synophoto.log
2018-05-27T21:55:25+08:00 ds3018xs synoscgi_SYNO.Photo.Index_2_reindex[9821]: /source/synophoto/src/webapi/lib/index/index.cpp:53 User admin(1024) trigger reindex: all [/var/services/homes/admin/Drive/Moments/]
2018-05-27T21:55:26+08:00 ds3018xs synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:177 ConceptSenderQueue Collecting
2018-05-27T21:55:57+08:00 ds3018xs synophoto-face-extraction: /source/synophoto-plugin-face/src/face_plugin/main.cpp:27 face plugin shutdown
2018-05-27T21:56:25+08:00 ds3018xs synophoto-task-center: /source/synophoto/src/daemon/task-center/person/face_extraction_queue.cpp:218 FaceExtractionQueue Collecting
2018-05-27T21:58:00+08:00 ds3018xs synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:170 ConceptSenderQueue Consuming, concept count = 1000
2018-05-27T21:58:00+08:00 ds3018xs synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:21 detection plugin init
2018-05-27T22:04:16+08:00 ds3018xs synophoto-task-center: /source/synophoto/src/daemon/task-center/person/face_extraction_queue.cpp:284 FaceExtractionQueue Consuming, count = 2530
2018-05-27T22:04:16+08:00 ds3018xs synophoto-face-extraction: /source/synophoto-plugin-face/src/face_plugin/main.cpp:21 face plugin init
2018-05-27T22:04:48+08:00 ds3018xs synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:27 detection plugin shutdown
2018-05-27T22:17:06+08:00 ds3018xs synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:22 clustering plugin init
2018-05-27T22:18:07+08:00 ds3018xs synophoto-task-center: /source/synophoto/src/daemon/task-center/person/face_extraction_queue.cpp:218 FaceExtractionQueue Collecting
2018-05-27T22:18:19+08:00 ds3018xs synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:21 detection plugin init
2018-05-27T22:18:38+08:00 ds3018xs synophoto-face-extraction: /source/synophoto-plugin-face/src/face_plugin/main.cpp:27 face plugin shutdown
2018-05-27T22:19:48+08:00 ds3018xs synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:28 clustering plugin shutdown
2018-05-27T22:20:07+08:00 ds3018xs synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:177 ConceptSenderQueue Collecting
2018-05-27T22:20:07+08:00 ds3018xs synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:170 ConceptSenderQueue Consuming, concept count = 1530
2018-05-27T22:20:52+08:00 ds3018xs synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:22 clustering plugin init
2018-05-27T22:21:22+08:00 ds3018xs synophoto-person-clustering: /source/synophoto-plugin-face/src/clustering_plugin/main.cpp:28 clustering plugin shutdown
2018-05-27T22:26:43+08:00 ds3018xs synophoto-task-center: /source/synophoto/src/daemon/task-center/index_sender_queue.cpp:177 ConceptSenderQueue Collecting
2018-05-27T22:27:14+08:00 ds3018xs synophoto-concept: /source/synophoto-plugin-detection/src/detection/plugin.cpp:27 detection plugin shutdown


DS3018xs 搭 Moments 新版總共花了 31:49


總結:
在實測中可以發覺, ds3018xs 完成所有的相片分類最快, 而 ds218+ 在更新至新版的 Moments 1.2 後, 辨識速度提升了一倍. 而 ds916+ 較舊款的 NAS, 其自動分類速度比 ds218+ 還慢. 看來新一代的 CPU搭配 Moments v1.2 支持 Intel CV SDK 功能, 確 實能提升速度非常多.

FB: Pctine

pctine wrote:
Moments performance...(恕刪)


我的上百g建索引,可能又要好幾天了

CUNNING wrote:
我的上百g建索引,...(恕刪)


因為官方也沒有這方面的數據, 我是想自己實驗試著找出一些有關 moments 的效能數據.
FB: Pctine

pctine wrote:
因為官方也沒有這方...(恕刪)


共用後又在轉檔了,枉費我的photostation轉檔花一堆時間,現在又在轉
這算那門子共用啦,是重用才對

CUNNING wrote:
共用後又在轉檔了,枉費我的photostation轉檔花一堆時間,現在又在轉
這算那門子共用啦,是重用才對...(恕刪)


之前 moments 是測試版. 可能你誤會了. 在 photo station 只會做縮圖的轉檔.

而新版的 Moments 所謂的 '共用相片庫', 指的是直接將 photo station 的相片加入自動分類, 這部份在 photo station 並未做的.
FB: Pctine
文章分享
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 15)

今日熱門文章 網友點擊推薦!