|
void | finalize () throws Throwable |
|
A license object is required to create FaceSDK algorithms and get information about your limits in FaceSDK. Use License#loadLicenceFromFile() of License#loadLicenceFromData(byte[]) functions for make a license object.
◆ generateLicenseRequest()
static native byte [] com.tech5.FaceSDK.License.generateLicenseRequest |
( |
int [] |
gpu_ids | ) |
throws FaceSDKException |
|
static |
Function to generate license request.
- Parameters
-
gpu_ids | array of GPU devices for which license should be issued or empty array if no GPUs is used. |
- Returns
- license request data.
- Exceptions
-
◆ generateTimeBoundLicenseRequest()
static native byte [] com.tech5.FaceSDK.License.generateTimeBoundLicenseRequest |
( |
| ) |
throws FaceSDKException |
|
static |
Function to generate time bound license request.
- Returns
- license request data.
- Exceptions
-
◆ getIsTimeBound()
boolean com.tech5.FaceSDK.License.getIsTimeBound |
( |
| ) |
|
|
inline |
Retrieves information about the license type (time bound or not).
- Returns
- true if the license is time bound
◆ getLicenseInfo()
String com.tech5.FaceSDK.License.getLicenseInfo |
( |
| ) |
|
|
inline |
Information in YML format about your limits in FaceSDK.
- Returns
- information about your limits
◆ loadLicenceFromData()
Load license from raw data
- Parameters
-
- Returns
- the loaded licence.
- Exceptions
-
FaceSDKException | in case of an error in native code. |
IllegalArgumentException | if data is null or empty. |
◆ loadLicenceFromFile() [1/2]
Load license from file in known paths.
- Returns
- the loaded licence.
- Exceptions
-
◆ loadLicenceFromFile() [2/2]
Load license from specified file.
- Parameters
-
licenseFile | file with license |
- Returns
- the loaded licence.
- Exceptions
-
FaceSDKException | in case of an error in native code. |
IllegalArgumentException | if licenseFile is null or empty |
◆ makeDefaultLicense()
The documentation for this class was generated from the following file:
- E:/git/face_sdk/java/lib/src/main/java/com/tech5/FaceSDK/License.java