Skip to content

Incorrect Camera Rotation #63

@new-username

Description

@new-username

Hi, I am trying to follow the examples and am able to launch the scanner. Everything works so far however the camera preview is rotated to the left? How would I correct this?

I have also tried using s.setCameraOrientation(degrees) with 0,90,180,270 as the degrees but it is always left rotated.

s = new Scanner();
s.setConfig(Symbology.EAN13,Config.ENABLE,1);
s.addEventListener(ScannerEvent.SCAN,onScan);
s.startPreview("rear");
s.attachScannerToPreview();

Any help would be appreciated.

Note: Tested on Android Only. (Samsung Galaxy S3 - Android Version 4.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions