1
我想問是否有使用getUserMedia的相機焦點功能?我正在使用QuaggaJS項目 - https://serratus.github.io/quaggaJS/examples/live_w_locator.htmlgetUserMedia()相機焦點
我想要做的是專注於相機,因爲它有點模糊,它無法檢測到條碼。有誰知道這是否可能?
謝謝!
我想問是否有使用getUserMedia的相機焦點功能?我正在使用QuaggaJS項目 - https://serratus.github.io/quaggaJS/examples/live_w_locator.htmlgetUserMedia()相機焦點
我想要做的是專注於相機,因爲它有點模糊,它無法檢測到條碼。有誰知道這是否可能?
謝謝!
如果焦點不能很好地工作,您可以使用locate:false進行測試。定位的默認值爲true。
{
locate: false,
area: { // defines rectangle of the detection/localization area
top: "30%", // top offset
right: "30%", // right offset
left: "30%", // left offset
bottom: "30%" // bottom offset
}
}
根據您的需要調整的區域。
嗨,iv'e試圖更新定位:錯誤,它仍然不工作,仍然模糊。 –
你可以請嘗試更新的答案。 – PPB