- The
representmethod insrc/api.pynow returns aRepresentationResultobject instead of a list ofPersonEmbeddingobjects. This object contains thesubjects(list of embeddings),warnings,model_info, andface_model_info. - The
verifymethod insrc/api.pynow returns aComparisonResultobject instead of a dictionary. - Updated
main.py,README.md, and unit tests to reflect the new API return types. DeepPersonclass now supports lazy initialization.detectorandembedding_pipelineare initialized on first use or viawarmup().- Added
warmup()method toDeepPersonto explicitly load models and optionally download/load face models. - Added
cache_dirparameter toDeepPersonto specify model cache directory.