@privateid/cryptonets-web-sdk
Advanced tools
Comparing version 2.0.37-alpha to 2.0.38-alpha
@@ -634,6 +634,7 @@ /* eslint-disable default-param-last */ | ||
const context = canvas.getContext('2d'); | ||
if (faceMode === CameraFaceMode.front) { | ||
context.translate(width, 0); | ||
context.scale(-1, 1); | ||
} | ||
// flipping issue here | ||
// if (faceMode === CameraFaceMode.front) { | ||
// context.translate(width, 0); | ||
// context.scale(-1, 1); | ||
// } | ||
context.drawImage(videoEl, 0, 0); | ||
@@ -640,0 +641,0 @@ // let img = canvas.toDataURL('image/jpeg'); |
@@ -5,3 +5,3 @@ { | ||
"description": "CryptoNets WebAssembly SDK", | ||
"version": "2.0.37-alpha", | ||
"version": "2.0.38-alpha", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "Face recognition", |
Sorry, the diff of this file is not supported yet
15274
48771080