Skip to content

Commit

Permalink
Use Mediapipe Facemesh for mobile by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ButzYung committed Nov 22, 2021
1 parent 25f1937 commit b91ec83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/SA_system_emulation.js
Expand Up @@ -5312,7 +5312,7 @@ var eye_data_height_ref_pts = {L:[159,145], R:[386,374]};
var use_faceLandmarksDetection = !is_mobile
// NOTE: Not using human for now, as there is a memory leak in Chromium v93+ affecting human regardless of whether it is webgl or wasm backend, webworker or not.
var use_human_facemesh// = url_search_params.get('use_human_facemesh') || !is_mobile
var use_mediapipe_facemesh = url_search_params.get('use_mediapipe_facemesh')
var use_mediapipe_facemesh = is_mobile || url_search_params.get('use_mediapipe_facemesh')

function init() {
if (_facemesh.initialized)
Expand Down

0 comments on commit b91ec83

Please sign in to comment.