react-native-vision-camera-spoof-detector 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/.cxx/Debug/2a1it684/arm64-v8a/.cmake/api/v1/reply/{codemodel-v2-6c7de80461af72f456a3.json → codemodel-v2-6af431df2d09cde56941.json} +2 -2
- package/android/.cxx/Debug/2a1it684/arm64-v8a/.cmake/api/v1/reply/{index-2025-11-18T17-52-03-0810.json → index-2025-11-24T09-46-02-0941.json} +2 -2
- package/android/.cxx/Debug/2a1it684/arm64-v8a/.cmake/api/v1/reply/{target-yuv-Debug-32bc4eddd343848e1c25.json → target-yuv-Debug-d9c8b9c64fd8df9f1bcd.json} +3 -3
- package/android/.cxx/Debug/2a1it684/arm64-v8a/.cmake/api/v1/reply/{target-yuv_shared-Debug-75ea769bf76a12914d29.json → target-yuv_shared-Debug-ffb5efa9f8837691d492.json} +3 -3
- package/android/.cxx/Debug/2a1it684/arm64-v8a/.ninja_deps +0 -0
- package/android/.cxx/Debug/2a1it684/arm64-v8a/.ninja_log +125 -63
- package/android/.cxx/Debug/2a1it684/arm64-v8a/CMakeFiles/CMakeOutput.log +22 -22
- package/android/.cxx/Debug/2a1it684/arm64-v8a/configure_fingerprint.bin +15 -15
- package/android/.cxx/Debug/2a1it684/armeabi-v7a/.cmake/api/v1/reply/{codemodel-v2-52ac1d8b40b69596389b.json → codemodel-v2-053850119b681f93cecc.json} +2 -2
- package/android/.cxx/Debug/2a1it684/armeabi-v7a/.cmake/api/v1/reply/{index-2025-11-18T16-28-36-0058.json → index-2025-11-18T18-09-57-0510.json} +2 -2
- package/android/.cxx/Debug/2a1it684/armeabi-v7a/.cmake/api/v1/reply/{target-yuv-Debug-97f9e822dbd84a186d44.json → target-yuv-Debug-a12ad49ff79080871bce.json} +2 -2
- package/android/.cxx/Debug/2a1it684/armeabi-v7a/.cmake/api/v1/reply/{target-yuv_shared-Debug-3730d20e27c3481c06b2.json → target-yuv_shared-Debug-2b00e64621a56b8dd632.json} +2 -2
- package/android/.cxx/Debug/2a1it684/armeabi-v7a/.ninja_deps +0 -0
- package/android/.cxx/Debug/2a1it684/armeabi-v7a/.ninja_log +176 -117
- package/android/.cxx/Debug/2a1it684/armeabi-v7a/CMakeFiles/CMakeOutput.log +20 -20
- package/android/.cxx/Debug/2a1it684/armeabi-v7a/configure_fingerprint.bin +15 -15
- package/android/.cxx/Debug/2a1it684/x86/.ninja_deps +0 -0
- package/android/.cxx/Debug/2a1it684/x86/.ninja_log +164 -109
- package/android/.cxx/Debug/2a1it684/x86/CMakeFiles/CMakeOutput.log +20 -20
- package/android/.cxx/Debug/2a1it684/x86/configure_fingerprint.bin +15 -15
- package/android/.cxx/Debug/2a1it684/x86_64/.ninja_deps +0 -0
- package/android/.cxx/Debug/2a1it684/x86_64/.ninja_log +109 -55
- package/android/.cxx/Debug/2a1it684/x86_64/CMakeFiles/CMakeOutput.log +20 -20
- package/android/.cxx/Debug/2a1it684/x86_64/configure_fingerprint.bin +15 -15
- package/android/build/.transforms/4ebf3dd0dca4f83fe1776360e21ded81/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/AntiSpoofingResult.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/ByteBufferPool$Companion.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/ByteBufferPool.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/FaceAntiSpoofFrameProcessor.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/FaceAntiSpoofingAdvanced$Companion.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/FaceAntiSpoofingAdvanced$EnvironmentAssessment.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/FaceAntiSpoofingAdvanced$SpoofDetectionResult.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/FaceAntiSpoofingAdvanced.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/JpegEncoder$Companion.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/JpegEncoder.dex +0 -0
- package/android/build/.transforms/c0a07cd9442d741ad3cef3760159211f/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/faceantispoof/YuvToFloatArrayConverter.dex +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/arm64-v8a/build_stdout_targets.txt +62 -1
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/arm64-v8a/generate_cxx_metadata_715_timing.txt +9 -0
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/armeabi-v7a/build_stdout_targets.txt +58 -1
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/armeabi-v7a/{generate_cxx_metadata_2399_timing.txt → generate_cxx_metadata_716_timing.txt} +1 -1
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/x86/build_stdout_targets.txt +54 -1
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/{armeabi-v7a/generate_cxx_metadata_2616_timing.txt → x86/generate_cxx_metadata_716_timing.txt} +1 -1
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/x86_64/build_stdout_targets.txt +54 -1
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/x86_64/generate_cxx_metadata_714_timing.txt +9 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/AntiSpoofingResult.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/ByteBufferPool$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/ByteBufferPool.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/FaceAntiSpoofFrameProcessor.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/FaceAntiSpoofingAdvanced$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/FaceAntiSpoofingAdvanced$EnvironmentAssessment.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/FaceAntiSpoofingAdvanced$SpoofDetectionResult.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/FaceAntiSpoofingAdvanced.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/JpegEncoder$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/JpegEncoder.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/faceantispoof/YuvToFloatArrayConverter.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +1 -1
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/AntiSpoofingResult.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/ByteBufferPool$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/ByteBufferPool.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/FaceAntiSpoofFrameProcessor.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/FaceAntiSpoofingAdvanced$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/FaceAntiSpoofingAdvanced$EnvironmentAssessment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/FaceAntiSpoofingAdvanced$SpoofDetectionResult.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/FaceAntiSpoofingAdvanced.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/JpegEncoder$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/JpegEncoder.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/YuvToFloatArrayConverter.class +0 -0
- package/android/src/main/java/com/faceantispoof/ByteBufferPool.kt +68 -0
- package/android/src/main/java/com/faceantispoof/FaceAntiSpoofFrameProcessor.kt +2 -1
- package/android/src/main/java/com/faceantispoof/FaceAntiSpoofingAdvanced.kt +75 -4
- package/android/src/main/java/com/faceantispoof/JpegEncoder.kt +204 -0
- package/android/src/main/java/com/faceantispoof/YuvToFloatArrayConverter.kt +62 -0
- package/package.json +3 -3
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/arm64-v8a/generate_cxx_metadata_2398_timing.txt +0 -9
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/arm64-v8a/generate_cxx_metadata_2614_timing.txt +0 -9
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/x86/generate_cxx_metadata_2399_timing.txt +0 -3
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/x86/generate_cxx_metadata_2616_timing.txt +0 -3
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/x86_64/generate_cxx_metadata_2399_timing.txt +0 -9
- package/android/build/intermediates/cxx/Debug/2a1it684/logs/x86_64/generate_cxx_metadata_2616_timing.txt +0 -9
- /package/android/.cxx/Debug/2a1it684/x86/.cmake/api/v1/reply/{index-2025-11-18T16-28-43-0678.json → index-2025-11-18T18-10-04-0841.json} +0 -0
- /package/android/.cxx/Debug/2a1it684/x86_64/.cmake/api/v1/reply/{index-2025-11-18T17-52-04-0655.json → index-2025-11-24T09-46-22-0202.json} +0 -0
|
@@ -1,2 +1,55 @@
|
|
|
1
1
|
ninja: Entering directory `C:\Users\jesco\Documents\Reactnative\myapp\node_modules\react-native-vision-camera-spoof-detector\android\.cxx\Debug\2a1it684\x86_64'
|
|
2
|
-
|
|
2
|
+
[1/54] Building CXX object CMakeFiles/fastyuv.dir/FastYuvJni.cpp.o
|
|
3
|
+
[2/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/compare_common.cc.o
|
|
4
|
+
[3/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/compare_gcc.cc.o
|
|
5
|
+
[4/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/compare.cc.o
|
|
6
|
+
[5/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/compare_win.cc.o
|
|
7
|
+
[6/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/convert_argb.cc.o
|
|
8
|
+
[7/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/convert.cc.o
|
|
9
|
+
[8/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/convert_from_argb.cc.o
|
|
10
|
+
[9/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/convert_jpeg.cc.o
|
|
11
|
+
[10/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/convert_from.cc.o
|
|
12
|
+
[11/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/convert_to_i420.cc.o
|
|
13
|
+
[12/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/mjpeg_decoder.cc.o
|
|
14
|
+
[13/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/convert_to_argb.cc.o
|
|
15
|
+
[14/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/mjpeg_validate.cc.o
|
|
16
|
+
[15/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/cpu_id.cc.o
|
|
17
|
+
[16/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/rotate_common.cc.o
|
|
18
|
+
[17/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/rotate_argb.cc.o
|
|
19
|
+
[18/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/rotate.cc.o
|
|
20
|
+
[19/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/planar_functions.cc.o
|
|
21
|
+
[20/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/rotate_any.cc.o
|
|
22
|
+
[21/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/row_lasx.cc.o
|
|
23
|
+
[22/54] Building CXX object CMakeFiles/fastyuv.dir/fast_yuv.cpp.o
|
|
24
|
+
[23/54] Building CXX object CMakeFiles/faceantispoof.dir/FaceAntiSpoofJSI.cpp.o
|
|
25
|
+
[24/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/rotate_lsx.cc.o
|
|
26
|
+
[25/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/rotate_gcc.cc.o
|
|
27
|
+
[26/54] Building CXX object CMakeFiles/faceantispoof.dir/c9fdc8b0d027394fa06b64ba7ac7706f/react-native/ReactCommon/jsi/jsi/jsi.cpp.o
|
|
28
|
+
[27/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/rotate_win.cc.o
|
|
29
|
+
[28/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/row_common.cc.o
|
|
30
|
+
[29/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/row_lsx.cc.o
|
|
31
|
+
[30/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/scale_argb.cc.o
|
|
32
|
+
[31/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/row_rvv.cc.o
|
|
33
|
+
[32/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/row_win.cc.o
|
|
34
|
+
[33/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/scale_common.cc.o
|
|
35
|
+
[34/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/row_gcc.cc.o
|
|
36
|
+
[35/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/scale_gcc.cc.o
|
|
37
|
+
[36/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/scale_lsx.cc.o
|
|
38
|
+
[37/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/scale_any.cc.o
|
|
39
|
+
[38/54] Linking CXX shared library C:\Users\jesco\Documents\Reactnative\myapp\node_modules\react-native-vision-camera-spoof-detector\android\build\intermediates\cxx\Debug\2a1it684\obj\x86_64\libfaceantispoof.so
|
|
40
|
+
[39/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/row_any.cc.o
|
|
41
|
+
[40/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/scale_win.cc.o
|
|
42
|
+
[41/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/scale.cc.o
|
|
43
|
+
[42/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/scale_rvv.cc.o
|
|
44
|
+
[43/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/scale_uv.cc.o
|
|
45
|
+
[44/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/video_common.cc.o
|
|
46
|
+
[45/54] Building CXX object libyuv/CMakeFiles/yuv_common_objects.dir/source/scale_rgb.cc.o
|
|
47
|
+
[46/54] Building C object libyuv/CMakeFiles/cpuid.dir/util/cpuid.c.o
|
|
48
|
+
[47/54] Building C object libyuv/CMakeFiles/yuvconstants.dir/util/yuvconstants.c.o
|
|
49
|
+
[48/54] Building CXX object libyuv/CMakeFiles/yuvconvert.dir/util/yuvconvert.cc.o
|
|
50
|
+
[49/54] Linking CXX static library libyuv\libyuv.a
|
|
51
|
+
[50/54] Linking CXX shared library C:\Users\jesco\Documents\Reactnative\myapp\node_modules\react-native-vision-camera-spoof-detector\android\build\intermediates\cxx\Debug\2a1it684\obj\x86_64\libyuv.so
|
|
52
|
+
[51/54] Linking CXX executable C:\Users\jesco\Documents\Reactnative\myapp\node_modules\react-native-vision-camera-spoof-detector\android\build\intermediates\cxx\Debug\2a1it684\obj\x86_64\yuvconvert
|
|
53
|
+
[52/54] Linking CXX executable C:\Users\jesco\Documents\Reactnative\myapp\node_modules\react-native-vision-camera-spoof-detector\android\build\intermediates\cxx\Debug\2a1it684\obj\x86_64\yuvconstants
|
|
54
|
+
[53/54] Linking CXX executable C:\Users\jesco\Documents\Reactnative\myapp\node_modules\react-native-vision-camera-spoof-detector\android\build\intermediates\cxx\Debug\2a1it684\obj\x86_64\cpuid
|
|
55
|
+
[54/54] Linking CXX shared library C:\Users\jesco\Documents\Reactnative\myapp\node_modules\react-native-vision-camera-spoof-detector\android\build\intermediates\cxx\Debug\2a1it684\obj\x86_64\libfastyuv.so
|
|
@@ -1 +1 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Mon Nov 24 15:11:24 IST 2025
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len
CHANGED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i
CHANGED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream
CHANGED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len
CHANGED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
10
|
|
2
2
|
0
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len
CHANGED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len
CHANGED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i
CHANGED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream
CHANGED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len
CHANGED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/ByteBufferPool$Companion.class
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/FaceAntiSpoofFrameProcessor.class
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/FaceAntiSpoofingAdvanced.class
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/faceantispoof/YuvToFloatArrayConverter.class
CHANGED
|
Binary file
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
package com.faceantispoof
|
|
2
|
+
|
|
3
|
+
import android.util.Log
|
|
4
|
+
import java.util.concurrent.atomic.AtomicInteger
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Buffer pool manager for efficient reuse of large byte arrays.
|
|
8
|
+
* Reduces garbage collection pressure during continuous frame processing.
|
|
9
|
+
*/
|
|
10
|
+
class ByteBufferPool(private val bufferSize: Int) {
|
|
11
|
+
companion object {
|
|
12
|
+
private const val TAG = "ByteBufferPool"
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
private val availableBuffers = mutableListOf<ByteArray>()
|
|
16
|
+
private val allocatedCount = AtomicInteger(0)
|
|
17
|
+
private val maxPoolSize = 3 // Keep max 3 buffers in pool
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Acquire a buffer from the pool or allocate a new one if needed.
|
|
21
|
+
*/
|
|
22
|
+
fun acquire(): ByteArray {
|
|
23
|
+
synchronized(availableBuffers) {
|
|
24
|
+
val buffer = if (availableBuffers.isNotEmpty()) {
|
|
25
|
+
availableBuffers.removeAt(0)
|
|
26
|
+
} else {
|
|
27
|
+
allocatedCount.incrementAndGet()
|
|
28
|
+
Log.d(TAG, "Allocated new buffer ($allocatedCount allocated)")
|
|
29
|
+
ByteArray(bufferSize)
|
|
30
|
+
}
|
|
31
|
+
return buffer
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Return a buffer to the pool for reuse.
|
|
37
|
+
*/
|
|
38
|
+
fun release(buffer: ByteArray) {
|
|
39
|
+
if (buffer.size != bufferSize) {
|
|
40
|
+
Log.w(TAG, "Buffer size mismatch: expected $bufferSize, got ${buffer.size}")
|
|
41
|
+
return
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
synchronized(availableBuffers) {
|
|
45
|
+
if (availableBuffers.size < maxPoolSize) {
|
|
46
|
+
availableBuffers.add(buffer)
|
|
47
|
+
Log.d(TAG, "Buffer returned to pool (available: ${availableBuffers.size})")
|
|
48
|
+
} else {
|
|
49
|
+
Log.d(TAG, "Pool is full, discarding buffer")
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Get current pool statistics.
|
|
56
|
+
*/
|
|
57
|
+
fun getStats(): String {
|
|
58
|
+
return "ByteBufferPool(size=$bufferSize, allocated=$allocatedCount, available=${availableBuffers.size})"
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
fun clear() {
|
|
62
|
+
synchronized(availableBuffers) {
|
|
63
|
+
availableBuffers.clear()
|
|
64
|
+
Log.d(TAG, "Buffer pool cleared")
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
@@ -131,7 +131,8 @@ class FaceAntiSpoofFrameProcessor : FrameProcessorPlugin() {
|
|
|
131
131
|
"label" to result.label,
|
|
132
132
|
"neuralNetworkScore" to result.neuralNetworkScore.toDouble(),
|
|
133
133
|
"laplacianScore" to result.laplacianScore,
|
|
134
|
-
"combinedScore" to result.combinedScore.toDouble()
|
|
134
|
+
"combinedScore" to result.combinedScore.toDouble(),
|
|
135
|
+
"recognitionImageBase64" to result.recognitionImageBase64
|
|
135
136
|
)
|
|
136
137
|
|
|
137
138
|
// Update the latest result for the next callback
|
|
@@ -14,15 +14,16 @@ import java.nio.ByteOrder
|
|
|
14
14
|
import java.util.*
|
|
15
15
|
import android.util.Log
|
|
16
16
|
import kotlin.collections.ArrayList
|
|
17
|
+
import android.util.Base64
|
|
17
18
|
|
|
18
19
|
class FaceAntiSpoofingAdvanced(private val assetManager: AssetManager) {
|
|
19
20
|
|
|
20
21
|
companion object {
|
|
21
22
|
const val INPUT_IMAGE_SIZE = 256
|
|
22
|
-
const val BASE_THRESHOLD = 0.
|
|
23
|
+
const val BASE_THRESHOLD = 0.2f
|
|
23
24
|
const val ROUTE_INDEX = 6
|
|
24
25
|
const val LAPLACE_THRESHOLD = 50
|
|
25
|
-
const val LAPLACIAN_THRESHOLD =
|
|
26
|
+
const val LAPLACIAN_THRESHOLD = 1000
|
|
26
27
|
const val MODEL_FILE = "FaceAntiSpoofing.tflite"
|
|
27
28
|
private const val TAG = "FaceAntiSpoofing"
|
|
28
29
|
|
|
@@ -200,6 +201,27 @@ class FaceAntiSpoofingAdvanced(private val assetManager: AssetManager) {
|
|
|
200
201
|
spoofDetection
|
|
201
202
|
)
|
|
202
203
|
|
|
204
|
+
// Generate 640×640 JPEG Base64 for Recognition API when face is live
|
|
205
|
+
var recognitionImageBase64: String? = null
|
|
206
|
+
val DEBUG_FORCE_BASE64 = false // Set to true to force Base64 generation for testing
|
|
207
|
+
|
|
208
|
+
if (isLive || DEBUG_FORCE_BASE64) {
|
|
209
|
+
Log.d(TAG, "🔍 isLive=$isLive (DEBUG_FORCE_BASE64=$DEBUG_FORCE_BASE64) - generating 640x640 JPEG Base64...")
|
|
210
|
+
try {
|
|
211
|
+
recognitionImageBase64 = generate640x640JpegBase64(nv21, width, height)
|
|
212
|
+
if (recognitionImageBase64 != null) {
|
|
213
|
+
Log.d(TAG, " Generated 640x640 JPEG Base64 for recognition API (size: ${recognitionImageBase64.length} bytes)")
|
|
214
|
+
} else {
|
|
215
|
+
Log.w(TAG, " generate640x640JpegBase64 returned null")
|
|
216
|
+
}
|
|
217
|
+
} catch (e: Exception) {
|
|
218
|
+
Log.w(TAG, " Failed to generate 640x640 JPEG Base64: ${e.message}", e)
|
|
219
|
+
// Continue without the image - it's not critical
|
|
220
|
+
}
|
|
221
|
+
} else {
|
|
222
|
+
Log.d(TAG, " isLive is FALSE - skipping Base64 generation")
|
|
223
|
+
}
|
|
224
|
+
|
|
203
225
|
AntiSpoofingResult(
|
|
204
226
|
neuralNetworkScore = nnScore,
|
|
205
227
|
laplacianScore = laplacianScore,
|
|
@@ -210,7 +232,8 @@ class FaceAntiSpoofingAdvanced(private val assetManager: AssetManager) {
|
|
|
210
232
|
isLive = isLive,
|
|
211
233
|
confidence = confidence,
|
|
212
234
|
label = if (isLive) "Live Face" else "Spoof Face: ${spoofDetection.type}",
|
|
213
|
-
spoofType = spoofDetection.type
|
|
235
|
+
spoofType = spoofDetection.type,
|
|
236
|
+
recognitionImageBase64 = recognitionImageBase64
|
|
214
237
|
)
|
|
215
238
|
} catch (e: Exception) {
|
|
216
239
|
Log.e(TAG, "Error in advancedAntiSpoofing", e)
|
|
@@ -272,6 +295,53 @@ class FaceAntiSpoofingAdvanced(private val assetManager: AssetManager) {
|
|
|
272
295
|
}
|
|
273
296
|
}
|
|
274
297
|
|
|
298
|
+
/**
|
|
299
|
+
* Generate 640×640 JPEG image as Base64 string for Recognition API.
|
|
300
|
+
* Optimized for high-speed encoding without intermediate allocations.
|
|
301
|
+
*
|
|
302
|
+
* @param nv21 NV21 encoded YUV frame
|
|
303
|
+
* @param width Original frame width
|
|
304
|
+
* @param height Original frame height
|
|
305
|
+
* @return Base64 encoded JPEG string (640×640), or null if generation fails
|
|
306
|
+
*/
|
|
307
|
+
private fun generate640x640JpegBase64(nv21: ByteArray, width: Int, height: Int): String? {
|
|
308
|
+
return try {
|
|
309
|
+
val TARGET_SIZE = 640
|
|
310
|
+
Log.d(TAG, "Starting 640x640 JPEG generation. Input: ${width}x${height}, NV21 size: ${nv21.size}")
|
|
311
|
+
|
|
312
|
+
// Convert NV21 to RGB byte array directly (640×640)
|
|
313
|
+
val rgbBytes = ByteArray(TARGET_SIZE * TARGET_SIZE * 3)
|
|
314
|
+
Log.d(TAG, "Allocated RGB buffer: ${rgbBytes.size} bytes")
|
|
315
|
+
|
|
316
|
+
val startConvert = System.currentTimeMillis()
|
|
317
|
+
val convertedRgb = yuvConverter.nv21ToRgbByteArray(
|
|
318
|
+
nv21, width, height,
|
|
319
|
+
TARGET_SIZE, TARGET_SIZE,
|
|
320
|
+
rgbBytes
|
|
321
|
+
)
|
|
322
|
+
val convertTime = System.currentTimeMillis() - startConvert
|
|
323
|
+
Log.d(TAG, "YUV to RGB conversion completed in ${convertTime}ms. RGB data: ${convertedRgb.size} bytes")
|
|
324
|
+
|
|
325
|
+
// Encode RGB to JPEG Base64 with quality 85
|
|
326
|
+
val startJpeg = System.currentTimeMillis()
|
|
327
|
+
val base64Result = JpegEncoder.rgbToJpegBase64(convertedRgb, TARGET_SIZE, TARGET_SIZE, quality = 85)
|
|
328
|
+
val jpegTime = System.currentTimeMillis() - startJpeg
|
|
329
|
+
|
|
330
|
+
if (base64Result != null) {
|
|
331
|
+
Log.d(TAG, "JPEG encoding completed in ${jpegTime}ms. Base64 size: ${base64Result.length} bytes")
|
|
332
|
+
Log.d(TAG, " Generated 640x640 JPEG Base64 for recognition API (total: ${convertTime + jpegTime}ms)")
|
|
333
|
+
} else {
|
|
334
|
+
Log.w(TAG, " JpegEncoder returned null")
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
base64Result
|
|
338
|
+
} catch (e: Exception) {
|
|
339
|
+
Log.e(TAG, " Error generating 640x640 JPEG Base64: ${e.message}", e)
|
|
340
|
+
e.printStackTrace()
|
|
341
|
+
null
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
275
345
|
private fun leafScore1(clssPred: Array<FloatArray>, leafNodeMask: Array<FloatArray>): Float {
|
|
276
346
|
var score = 0f
|
|
277
347
|
for (i in 0 until 8) {
|
|
@@ -572,5 +642,6 @@ data class AntiSpoofingResult(
|
|
|
572
642
|
val isLive: Boolean,
|
|
573
643
|
val confidence: Float,
|
|
574
644
|
val label: String,
|
|
575
|
-
val spoofType: String
|
|
645
|
+
val spoofType: String,
|
|
646
|
+
val recognitionImageBase64: String? = null
|
|
576
647
|
)
|