How to Enable an Application to Utilize the Terminal's Camera Function: Difference between revisions

From wizarPOS
No edit summary
No edit summary
Line 12: Line 12:
| Q1V2|| 0: zoom/zebra camera, 1: fixed focus camera
| Q1V2|| 0: zoom/zebra camera, 1: fixed focus camera
|-
|-
| Q2 || 0
| Q2 || 0: back camera, 1: front camera
|-
|-
| K2 || 0
| K2 || 0

Revision as of 02:02, 27 July 2021

Please refer to the camera of Android SDK. Please note that when calling camera.open (ID), the IDs of different product models are different, see the definition in the following table:

Product Model Camera ID
W1 0
W1V2 0
Q1 0: zoom camera, 1: fixed focus camera
Q1V2 0: zoom/zebra camera, 1: fixed focus camera
Q2 0: back camera, 1: front camera
K2 0
PAD1 0
Q3 0: back camera, 1: front camera

We also wrote a demonstration for taking photos. Please download it.