mv_machine_learning: change feature vector manager for face recognition
authorInki Dae <inki.dae@samsung.com>
Mon, 18 Dec 2023 07:58:42 +0000 (16:58 +0900)
committerKwanghoon Son <k.son@samsung.com>
Wed, 27 Dec 2023 03:22:49 +0000 (12:22 +0900)
commit3bfd8b6158e07c03f0a9a3152bac8946616d2af0
treeb66ba4c060170799f2256be9f3107898b0cbd89e
parent5bbdf73ecf075db90955c0349044d7617508b1f8
mv_machine_learning: change feature vector manager for face recognition

[Issue type] : code enhancement

Change feature vector manager including some code cleanups for face recognition
task group.

With this patch, the header data of the feature vector is now stored at the
beginning of the feature vector file, while the feature vector data is stored
at the end of the file. This change makes it easier to manage feature vectors
without having to worry about moving the file pointer.
In the previous version, the header data was stored at the end of the file,
and the feature vector data was stored at the beginning of the file.

Additionally, this patch skips an unnecessary process in the deleteLabel
function and cleans up the existing code.

Change-Id: I9ef2c0f5603788ea1907002bacf25d9f4fba68ed
Signed-off-by: Inki Dae <inki.dae@samsung.com>
mv_machine_learning/face_recognition/include/face_recognition_dsm.h
mv_machine_learning/face_recognition/include/face_recognition_fvm.h
mv_machine_learning/face_recognition/src/face_recognition.cpp
mv_machine_learning/face_recognition/src/face_recognition_dsm.cpp
mv_machine_learning/face_recognition/src/face_recognition_fvm.cpp
mv_machine_learning/training/include/feature_vector_manager.h