一、需求描述:
1. 現狀:目前已實現 nodejs庫https://github.com/openstf/adbkit 進行screencap截圖并在win10用opencv顯示截圖
設備:mi6 + win10
分辨率:1920*1080
2. 問題:當前環境執行adb screencap耗時在3~5s
2. 目標:性能優化在1s之內,且圖片不失真,分享解決思路
二、人才要求:
安卓 adb
三、參考鏈接
1.https://stackoverflow.com/questions/43900380/faster-command-than-adb-shell-screencap
2.https://stackoverflow.com/questions/13984017/how-to-capture-the-screen-as-fast-as-possible-through-adb
3.https://www.jianshu.com/p/30ab006b028c
4.https://github.com/NetEaseGame/airinput