How Do I Switch the Version When an SDK Calls the V1 and V2 APIs?
When an SDK calls V1/V2 APIs, no other configuration is required.
Example 1 (python-sdk):
V1: frs_client.get_search_service().search_face_by_file(face_set_name, file_path);
V2: frs_client.get_v2().get_search_service().search_face_by_file(face_set_name, file_path);
Example 2 (java-sdk):
V1: frsClient.getSearchService().searchFaceByFile(faceSetName, filePath);
V2: frsClient.getV2().getSearchService().searchFaceByFile(faceSetName, filePath);
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.