Open Source Computer Vision Library
Go to file
quantizs e1b06371ad Added buffer-based model loading to FaceRecognizerSF
- Implemented a new `create` method in `FaceRecognizerSF` to allow model and configuration loading from memory buffers (std::vector<uchar>), similar to the existing functionality in `FaceDetectorYN`.
- Updated `face_recognize.cpp` with a new constructor in `FaceRecognizerSFImpl` that supports buffer-based loading for both model weights and network configuration.
- Ensured compatibility with both file-based and buffer-based model loading by maintaining consistent backend and target settings across both constructors.
- This change improves flexibility, allowing FaceRecognizerSF to be instantiated from memory buffers, which is useful for dynamic model loading scenarios such as embedded systems or applications where models are loaded in-memory.
2024-10-09 15:13:47 +02:00
.github Force contributors to define Apache 2.0 license for the new PRs. 2024-06-28 16:54:14 +03:00
3rdparty Merge pull request #26163 from asmorkalov:as/HAL_schaar_deriv 2024-09-23 08:44:22 +03:00
apps Merge pull request #25582 from fengyuentau:dnn/dump_pbtxt 2024-05-17 11:07:05 +03:00
cmake Merge pull request #25901 from mshabunin:fix-riscv-aarch-baseline 2024-09-12 18:07:24 +03:00
data Merge pull request #22727 from su77ungr:patch-1 2022-11-17 06:54:25 +00:00
doc Fixed minor typos in js tutorials 2024-09-22 11:40:06 +02:00
include exclude opencv_contrib modules 2020-02-26 15:12:45 +03:00
modules Added buffer-based model loading to FaceRecognizerSF 2024-10-09 15:13:47 +02:00
platforms Merge pull request #25901 from mshabunin:fix-riscv-aarch-baseline 2024-09-12 18:07:24 +03:00
samples Merge pull request #26154 from cabelo:yolov5l 2024-09-17 08:58:22 +03:00
.editorconfig add .editorconfig 2018-10-11 17:57:51 +00:00
.gitattributes cmake: generate and install ffmpeg-download.ps1 2018-06-09 13:19:48 +03:00
.gitignore Merge pull request #17165 from komakai:objc-binding 2020-06-08 18:32:53 +00:00
CMakeLists.txt Merge pull request #25901 from mshabunin:fix-riscv-aarch-baseline 2024-09-12 18:07:24 +03:00
CONTRIBUTING.md migration: github.com/opencv/opencv 2016-07-12 12:51:12 +03:00
COPYRIGHT copyright: 2023 (update) 2023-01-09 09:49:22 +00:00
LICENSE copyright: 2023 2023-01-08 18:18:37 +00:00
README.md Space mistake in README.md 2024-03-03 23:37:07 +05:30
SECURITY.md Updated PGP key for security reports 2023-04-19 19:16:55 +03:00

OpenCV: Open Source Computer Vision Library

Resources

Contributing

Please read the contribution guidelines before starting work on a pull request.

Summary of the guidelines:

  • One pull request per issue;
  • Choose the right base branch;
  • Include tests and documentation;
  • Clean up "oops" commits before submitting;
  • Follow the coding style guide.

Additional Resources