@idscan/onboarding 2.1.9 → 2.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (self.webpackChunk_idscan_idvc2=self.webpackChunk_idscan_idvc2||[]).push([[975],{8203:(e,a,i)=>{i.r(a),i.d(a,{default:()=>n});var s=i(6191),t=i(831),c=i(5734);const n=async()=>{if(s.Z.isRealFaceAvailable)await(0,c.Z)();else{const e=await(0,t.Z)();await(0,c.n)(e)}}},5734:(e,a,i)=>{i.d(a,{Z:()=>f,n:()=>Z});var s=i(400),t=i(6635),c=i(1890),n=i(4973),l=i(6191),o=i(7673),d=i(4936);const Z=async e=>{let a;if(l.Z.isRealFaceAvailable)a=new o.Z;else{a=new d.Z(e);const{height:i,width:s}=l.Z.videoCanvasSizes;if(0!==i&&0!==s){const e=c.ZP.ui.resizedCtx.getImageData(l.Z.offsetsFace.left,l.Z.offsetsFace.top,l.Z.cropFace.width,l.Z.cropFace.height);await a.initPico(e)}}t.Z.setModule("module","face",a)},f=async()=>{const e=s.oV.MediaPipeFaceMesh,a=await s.cH(e,(0,n._)());t.Z.setModule("model","faceMesh",a),a.estimateFaces(c.ZP.ui.resizedCanvas),await Z(null)}}}]);
1
+ (self.webpackChunk_idscan_idvc2=self.webpackChunk_idscan_idvc2||[]).push([[975],{8203:(e,a,i)=>{i.r(a),i.d(a,{default:()=>n});var s=i(2372),t=i(831),c=i(5734);const n=async()=>{if(s.Z.isRealFaceAvailable)await(0,c.Z)();else{const e=await(0,t.Z)();await(0,c.n)(e)}}},5734:(e,a,i)=>{i.d(a,{Z:()=>f,n:()=>Z});var s=i(400),t=i(6635),c=i(1890),n=i(4973),l=i(2372),o=i(7673),d=i(4936);const Z=async e=>{let a;if(l.Z.isRealFaceAvailable)a=new o.Z;else{a=new d.Z(e);const{height:i,width:s}=l.Z.videoCanvasSizes;if(0!==i&&0!==s){const e=c.ZP.ui.resizedCtx.getImageData(l.Z.offsetsFace.left,l.Z.offsetsFace.top,l.Z.cropFace.width,l.Z.cropFace.height);await a.initPico(e)}}t.Z.setModule("module","face",a)},f=async()=>{const e=s.oV.MediaPipeFaceMesh,a=await s.cH(e,(0,n._)());t.Z.setModule("model","faceMesh",a),a.estimateFaces(c.ZP.ui.resizedCanvas),await Z(null)}}}]);
@@ -1 +1 @@
1
- (self.webpackChunk_idscan_idvc2=self.webpackChunk_idscan_idvc2||[]).push([[343],{9296:(e,c,a)=>{a.r(c),a.d(c,{default:()=>u});var n=a(6191),o=a(9400),d=a(522),s=a(4554),t=a(8780),l=a(5398),m=a(6635),r=a(4526);const u=async({commonLicenseKey:e})=>{const c=new o.Z(n.Z.RUNTIME,d.m,"tf",`${n.Z.networkUrl}/${s.t.$I}`);await c.loadModel(),n.Z.cameraSupported&&c.warmup(),m.Z.setModule("model","mrz",c);const a=await(0,t.Z)(),u=new l.Z(a,c);e?u.create(n.Z.keys.commonLicenseKey):((0,r.Z)(),u.decoder=null),m.Z.setModule("module","mrz",u)}}}]);
1
+ (self.webpackChunk_idscan_idvc2=self.webpackChunk_idscan_idvc2||[]).push([[343],{9296:(e,c,a)=>{a.r(c),a.d(c,{default:()=>u});var n=a(2372),o=a(9400),d=a(522),s=a(4554),t=a(8780),l=a(5398),m=a(6635),r=a(4526);const u=async({commonLicenseKey:e})=>{const c=new o.Z(n.Z.RUNTIME,d.m,"tf",`${n.Z.networkUrl}/${s.t.$I}`);await c.loadModel(),n.Z.cameraSupported&&c.warmup(),m.Z.setModule("model","mrz",c);const a=await(0,t.Z)(),u=new l.Z(a,c);e?u.create(n.Z.keys.commonLicenseKey):((0,r.Z)(),u.decoder=null),m.Z.setModule("module","mrz",u)}}}]);