[英]Getting byte[] or ByteBuffer from CameraX ImageAnalysis
有沒有辦法從 CameraX ImageAnalysis 用例中獲取 byte[] 或 ByteBuffer? 任何見解都值得贊賞。
byte[] bytes = new byte[image.getPlanes()[0].getBuffer().remaining()];
image.getPlanes()[0].getBuffer().get(bytes);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.