instascan icon indicating copy to clipboard operation
instascan copied to clipboard

Back camera image flipped

Open realtebo opened this issue 5 years ago • 2 comments

In the official demo, when I use back camer, I see the image orizzontally mirrored so scan do not works,

Could you add an option to mirror it?

realtebo avatar May 17 '19 08:05 realtebo

use: let scanner = new Instascan.Scanner( { video: document.getElementById('preview'), mirror: false } );

DaNylez avatar May 17 '19 17:05 DaNylez

In the official demo, when I use back camer, I see the image orizzontally mirrored so scan do not works,

Could you add an option to mirror it?

How you detect a Back camera ??

HamidReazaNikoonia avatar Jun 29 '20 17:06 HamidReazaNikoonia