Face scan: sensitivitas deteksi dinaikkan — minDetectionConfidence 0.5→0.35, resolusi kamera 1280→960 (frame lebih cepat di HP)
This commit is contained in:
@@ -440,7 +440,7 @@ function faceScan() {
|
||||
}
|
||||
try {
|
||||
const stream = await navigator.mediaDevices.getUserMedia({
|
||||
video: { facingMode: this.facing, width: { ideal: 1280 } },
|
||||
video: { facingMode: this.facing, width: { ideal: 960 } },
|
||||
audio: false,
|
||||
});
|
||||
this.$refs.video.srcObject = stream;
|
||||
|
||||
Reference in New Issue
Block a user