Skip to content

Commit

Permalink
Face SDK v3.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-alabugin committed Apr 2, 2024
1 parent 4a571ce commit 8cfabbd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
android:id="@+id/aboutText1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Video recognition with depth and IR liveness demo for Telpo (v 0.2)\n\nFace SDK version 3.19.1\n"
android:text="Video recognition with depth and IR liveness demo for Telpo (v 0.2)\n\nFace SDK version 3.19.2\n"
android:layout_below="@+id/aboutLogo"
/>

Expand Down
2 changes: 1 addition & 1 deletion flutter/face_sdk_3divi/lib/api/processing_block.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ProcessingBlock extends _ComplexObject {
final destructor = _dll_handle.lookupFunction<
_ProcessingBlock_destroyProcessingBlock_c,
_ProcessingBlock_destroyProcessingBlock_dart>
('TDVProcessingBlock_destroy');
('TDVProcessingBlock_destroyBlock');

destructor(_impl, exception);

Expand Down
5 changes: 3 additions & 2 deletions flutter/face_sdk_3divi/lib/api/recognizer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ class Recognizer extends _ComplexObject {
get(_impl, template1._impl, template2._impl, distance, far, frr, score, exception);
checkException(exception, _dll_handle);

MatchResult result = MatchResult(distance.value, far.value, frr.value, score.value);
malloc.free(distance);
malloc.free(score);
malloc.free(frr);
malloc.free(far);
return MatchResult(distance.value, far.value, frr.value, score.value);
return result;
}
///Load the template.<br>
///The format is platform-independent.<br>
Expand Down Expand Up @@ -133,7 +134,7 @@ class Recognizer extends _ComplexObject {
malloc.free(_templatePointerStructure[0]);
malloc.free(_templatePointerStructure[1]);
malloc.free(_templatePointerStructure);
malloc.free(byteCount);
// byteCount not free

return Template(_dll_handle, templPointer);
}
Expand Down
4 changes: 2 additions & 2 deletions include/facerec/libfacerec.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
#ifndef FACEREC_LIBFACEREC_H_
#define FACEREC_LIBFACEREC_H_

#define LIBFACEREC_VERSION "3.19.01"
#define LIBFACEREC_VERSION "3.19.02"

#define LIBFACEREC_VERSION_HEX 0x031901
#define LIBFACEREC_VERSION_HEX 0x031902

#include "../pbio/FacerecService.h"

Expand Down
2 changes: 1 addition & 1 deletion python_api/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
from os import path

__version__ = '3.19.1'
__version__ = '3.19.2'
__author__ = '3DiVi'
__url__ = 'https://face.3divi.com/'

Expand Down

0 comments on commit 8cfabbd

Please sign in to comment.