Thermal imaging system
Used in traffic scenes, support Thermal imaging system preview and get the data recall, manage its the lifecycle, monitor its status, and auto co
Description of functional types
TemperatureCameraFactory
Get different instances for Thermal imaging system
Member Function
Description
Version introduced
ITemperatureCamera getTemperatureCamera(CameraType type)
Get instances for Thermal imaging system
2.0.0
Description of Member Function
ITemperatureCamera getTemperatureCamera(CameraType type)
Get Thermal imaging system
Parameter
Parameter Name
Type
Description
Note
Version introduced
type
CameraType
Thermal imaging system Type
None
2.0.0
Return
ITemperatureCamera
Current Type
Exception
None
ITemperatureCamera
Operate Thermal imaging system
Member Function
Description
Version introduced
boolean matrixTemperature(float[] y16Frame, int y16W, int y16H, float distance, int x, int y, int w, int h, float[] tempArray)
Batch Conversion of Temperature
2.0.0
float getCentigradeFromTemperatureData(float temperatureData)
Calculate the Actual Temperature from the Temperature Data
2.0.0
float getCameraBodyTemperature()
get Camera Body Temperature
2.0.0
void addTemperaturePreviewDataCallback
(ITemperaturePreviewDataCallback callback)
add Thermal imaging system Preview Data Callback
2.0.0
void initCamera(Context context)
Initialize the Thermal imaging system
2.0.0
void releaseCamera()
release Thermal imaging system
2.0.0
void removeTemperaturePreviewDataCallback
(ITemperaturePreviewDataCallback callback)
remove Thermal imaging system Preview Data Callback
2.0.0
void startPreview(TextureView textureView)
start Thermal imaging system Preview
2.0.0
void stopPreview()
stop Thermal imaging system Preview
2.0.0
void setConfig(TemperatureCameraConfig config)
Configure Thermal imaging system
2.0.0
void setAutoShutterEnable(boolean enable)
set Auto Shutter Enable
2.0.0
void shutter()
Shutter
2.0.0
Description of Member Function
boolean matrixTemperature(float[] y16Frame, int y16W, int y16H, float distance, int x, int y, int w, int h, float[] tempArray)
Batch Conversion of Temperature
Parameter
Parameter Name
Type
Description
Note
Version Introduced
y16Frame
float[]
Original Temperature Chart
None
2.0.0
y16W
int
Original Temperature Chart Width
None
2.0.0
y16H
int
Original Temperature Chart Height
None
2.0.0
distance
float
Real Temperature Measurement Distance
None
2.0.0
x
int
the Starting x Coordinate to be Converted
None
2.0.0
y
int
the Starting y Coordinate to be Converted
None
2.0.0
w
int
Width to be Converted
None
2.0.0
h
int
Height to be Converted
None
2.0.0
tempArray
float[]
Converted Temperature Array, size is w*h
None
2.0.0
Return
Returned Value
Description
Version Introduced
true
Converted
2.0.0
false
Not Convered
2.0.0
Exception
None
float getCentigradeFromTemperatureData(float temperatureData)
Get Centigrade from Temperature Data
Parameter
Parameter Name
Type
Description
Note
Version Introduced
temperatureData
float
Temperature Data on Each Pixel, Such as Energy Value
None
2.0.0
Return
Centigrade Value
Exception
None
float getCameraBodyTemperature()
Get Camera Body Temperature
Parameter
None
Return
Camera Body Temperature
Exception
None
void addTemperaturePreviewDataCallback(ITemperaturePreviewDataCallback callback)
Add Thermal imaging system Preview Data Callback
Parameter
Parameter Name
Type
Description
Note
Version Introduced
callback
ITemperaturePreviewDataCallback
Preview Data Callback
None
2.0.0
Return
None
Exception
None
void initCamera(Context context)
Initialize Thermal imaging system
Parameter
Parameter Name
Type
Description
Note
Version Introduced
context
Context
Context
None
2.0.0
Return
None
Exception
None
void releaseCamera()
Release Thermal imaging system
Parameter
None
Return
None
Exception
None
void removeTemperaturePreviewDataCallback(ITemperaturePreviewDataCallback callback)
Remove Temperature Preview Data Callback
Parameter
Parameter Name
Type
Description
Note
Version Introduced
callback
ITemperaturePreviewDataCallback
Temperature Preview Data Callback
None
2.0.0
Return
None
Exception
None
void startPreview(TextureView textureView)
Start Preview
Parameter
Parameter Name
Type
Description
Note
Version Introduced
textureView
TextureView
Android System Native (Used for Data Processing)
None
2.0.0
Return
None
Exception
None
void stopPreview()
Stop Preview
Parameter
None
Return
None
Exception
None
void setConfig(TemperatureCameraConfig config)
Thermal imaging system Configuration
Parameter
Parameter Name
Type
Description
Note
Version Introduced
config
TemperatureCameraConfig
Thermal imaging system Configuration
None
2.0.0
Return
None
Exception
None
void setAutoShutterEnable(boolean enable)
Set Auto Shutter Enable
Parameter
Parameter Name
Type
Description
Note
Version Introduced
enable
boolean
Set Auto Shutter Enable
None
2.0.0
Return
None
Exception
None
void shutter()
Open Shutter
Parameter
None
Return
None
Exception
None
Description of Entities
ITemperaturePreviewDataCallback
Preview Data Callback
Description of Method
void onTemperaturePreviewData(Bitmap temperatureBitmap, float[] temperatureValue, int width, int height)
Temperature Preview Data Callback: Thermal imaging system outputs the image orientation as the same as its phisical orientation. For example, the human face will output with the vertical orientation.
Parameter
Parameter Name
Type
Description
Note
Version Introduced
temperatureBitmap
Bitmap
Temperature rgb Picture
None
2.0.0
temperatureValue
float[]
Temperature Data
None
2.0.0
width
int
Temperature Data Width
None
2.0.0
height
int
Temperature Data Height
None
2.0.0
TemperatureCameraConfig
Thermal imaging system Configuration
Description of Properties
Member
Type
Description
Note
Version Introduced
environmentTemperature
float
Environment Temperature
None
2.0.0
distance
float
Temperature Measurement Distance
None
2.0.0
transmittance
float
Atmospheric Transmissivity
None
2.0.0
emissity
float
Emissivity
None
2.0.0
CameraType
Thermal imaging system Type(Enumeration Type)
Description of Properties
Member
Description
Note
Version Introduced
IRAY
IRAY
None
2.0.0
GUIDE120
GUIDE120
None
2.0.0
GUIDE256
GUIDE256
None
2.0.0
最終更新