public class DeviceParams
extends java.lang.Object
implements android.os.Parcelable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
BACK_CAMERA
Back Camera
|
static int |
CAPTURE_MODE_STILL
Still image capture mode.
|
static int |
CAPTURE_MODE_VIDEO
Live Video recognition mode.
|
static android.os.Parcelable.Creator<DeviceParams> |
CREATOR |
static int |
DEMO_CAMERA
Demo Camera
|
static int |
DYNAMIC
On captured picture ground on bottom and sky on top will be always kept aligned correctly
regardless of device rotation.
|
static int |
FIXED_LANDSCAPE
On captured picture ground on bottom and sky on top will be if device is in landscape
|
static int |
FIXED_LANDSCAPE_INVERSE
On captured picture ground on bottom and sky on top will be if device is in upside down
landscape
|
static int |
FIXED_PORTRAIT
On captured picture ground on bottom and sky on top will be if device is in portrait mode
|
static int |
FIXED_PORTRAIT_INVERSE
On captured picture ground on bottom and sky on top will be if device is in upside down
portrait mode
|
static int |
FLASH_MODE_AUTO
Flash will be automatically triggered on if lighting is not enough
|
static int |
FLASH_MODE_OFF
Flash is always off
|
static int |
FLASH_MODE_ON
Flash is always on
|
static int |
FRONT_CAMERA
Front camera
|
static int |
INPUT_EXT_CAMERA
External camera.
|
static int |
INPUT_MP4
Live Video recognition mode.
|
static int |
REC_PROFILE_HIGH
High resolution recording profile.
|
static int |
REC_PROFILE_LOW
High resolution recording profile.
|
static int |
REC_PROFILE_MEDIUM
High resolution recording profile.
|
static java.lang.String |
VIDEO_RES_FULLHD
Video resolution FULL HD (1920x1080)
|
static java.lang.String |
VIDEO_RES_HD
Video resolution HD (1280x720)
|
static java.lang.String |
VIDEO_RES_WVGA
Video resolution Wide VGA (768x480)
|
Constructor and Description |
---|
DeviceParams() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(DeviceParams src) |
int |
describeContents() |
boolean |
equals(java.lang.Object other) |
boolean |
isCaptureHighResImage()
Method returns true if ANPR Engine is in capturing of High Resolution jpeg mode.
|
Container<java.lang.Integer> |
propAudioRecProfileId()
Audio recording profile property.
|
Container<java.lang.Integer> |
propCameraType()
Camera type property.
|
Container<java.lang.Integer> |
propCaptureMode()
Capture Mode property.
|
Container<java.lang.String> |
propExtCameraName()
External Camera Name property.
|
Container<java.lang.Integer> |
propFlashMode()
Flash mode Property.
|
Container<java.lang.String> |
propInputMp4File()
Input MP4 file Property.
|
Container<java.lang.Integer> |
propMaxVideoFileLengthSec()
Maximal video length property.
|
Container<java.lang.Boolean> |
propRecordVideo()
Video recording property.
|
Container<java.lang.Integer> |
propRotation()
Video stream rotation rule property.
|
Container<java.lang.Boolean> |
propShowInformation()
Show information Property.
|
Container<java.lang.Boolean> |
propStoreAnprResultsInJpeg()
Store ANPR Results coordinates in Jpeg.
|
Container<java.lang.Boolean> |
propStoreGpsInJpeg()
Store GPS coordinates in Jpeg.
|
Container<java.lang.Boolean> |
propStoreLocationInformation()
Store Location information Property.
|
Container<java.lang.Integer> |
propTotalVideoStorageLengthSec()
Maximal total video length property.
|
Container<java.lang.Boolean> |
propUseOrientationSensor()
Use Orientation Sensor property.
|
Container<java.lang.String> |
propVideoFolderName()
Video Folder name property.
|
Container<java.lang.Integer> |
propVideoRecProfileId()
Video recording profile property.
|
Container<java.lang.String> |
propVideoResolution()
Video resolution property.
|
Container<java.lang.Float> |
propZoomFactor()
Zoom factor Property.
|
void |
readFromParcel(android.os.Parcel source) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final int CAPTURE_MODE_STILL
public static final int CAPTURE_MODE_VIDEO
public static final int REC_PROFILE_HIGH
public static final int REC_PROFILE_MEDIUM
public static final int REC_PROFILE_LOW
public static final int FIXED_PORTRAIT
public static final int FIXED_PORTRAIT_INVERSE
public static final int FIXED_LANDSCAPE
public static final int FIXED_LANDSCAPE_INVERSE
public static final int DYNAMIC
public static final int DEMO_CAMERA
public static final int BACK_CAMERA
public static final int FRONT_CAMERA
public static final int INPUT_MP4
public static final int INPUT_EXT_CAMERA
public static final java.lang.String VIDEO_RES_WVGA
public static final java.lang.String VIDEO_RES_HD
public static final java.lang.String VIDEO_RES_FULLHD
public static final int FLASH_MODE_OFF
public static final int FLASH_MODE_AUTO
public static final int FLASH_MODE_ON
public static final android.os.Parcelable.Creator<DeviceParams> CREATOR
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public void copyFrom(DeviceParams src)
public void readFromParcel(android.os.Parcel source)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public Container<java.lang.Integer> propCameraType()
DEMO_CAMERA
- Demo camera used to verify recognition flow;BACK_CAMERA
- Back android device camera;FRONT_CAMERA
- Front android device camera;INPUT_MP4
- Use mp4 video file as input;INPUT_EXT_CAMERA
- Use external UVC camera as input;
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.String> propVideoResolution()
VIDEO_RES_WVGA
- 480p resolutionVIDEO_RES_HD
- 720p resolutionVIDEO_RES_FULLHD
- 1080p resolution
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Integer> propRotation()
DYNAMIC
- dynamically determine device rotation so capturing will always try to position
sky on top and ground on bottom based on sensor informationFIXED_PORTRAIT
- video is always fixed to portrait. Rotating device will result in rotation
of video content on captured stream (ground is on top, left or right)FIXED_PORTRAIT_INVERSE
- video is always fixed to inverse portrait. Rotating device will result in rotation
of video content on captured stream (ground is on top, left or right)FIXED_LANDSCAPE
- video is always fixed to landscape. Rotating device will result in rotation
of video content on captured stream (ground is on top, left or right)FIXED_LANDSCAPE_INVERSE
- video is always fixed to inverse landscape. Rotating device will result in rotation
of video content on captured stream (ground is on top, left or right)
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Boolean> propRecordVideo()
propMaxVideoFileLengthSec()
, propTotalVideoStorageLengthSec()
properties
to adjust video loop behaviour.
Default value: false
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.String> propVideoFolderName()
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Integer> propMaxVideoFileLengthSec()
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Integer> propTotalVideoStorageLengthSec()
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Integer> propVideoRecProfileId()
REC_PROFILE_HIGH
- high quality video profile. Video resolution will be set to 1080pREC_PROFILE_MEDIUM
- medium quality video profile. Video resolution will be set to 720pREC_PROFILE_LOW
- low quality video profile. Video resolution will be set to 480p
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Integer> propAudioRecProfileId()
REC_PROFILE_HIGH
- high quality audio profile. Audio will be recorded at 192kBitREC_PROFILE_MEDIUM
- medium quality audio profile. Audio will be recorded at 164kBitREC_PROFILE_LOW
- low quality audio profile. Audio will be recorded at 128kBit
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic boolean isCaptureHighResImage()
public Container<java.lang.Integer> propCaptureMode()
CAPTURE_MODE_VIDEO
- capturing continuous video streamCAPTURE_MODE_STILL
- capturing jpeg imageContainer.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Boolean> propUseOrientationSensor()
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Boolean> propStoreGpsInJpeg()
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Boolean> propStoreAnprResultsInJpeg()
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Boolean> propStoreLocationInformation()
ContentResolver
passing AnprContentEntry.RESULTS_URI
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.String> propInputMp4File()
propCameraType()
property should be set to INPUT_MP4
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Float> propZoomFactor()
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Boolean> propShowInformation()
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.Integer> propFlashMode()
FLASH_MODE_OFF
- Flash is always off
FLASH_MODE_AUTO
- Flash will be switched on automatically if lighting conditions require that
FLASH_MODE_ON
- Flash is always on
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instancepublic Container<java.lang.String> propExtCameraName()
Container.set(Object)
to set new value and
Container.value()
to read current value of the propertyContainer
instance