Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -386,14 +386,16 @@ private okhttp3.Call matchValidateBeforeCall(
* compare faces (1:1) To perform a comparison of faces in the same image or in two different
* images, use POST `/api/match`. It's possible to compare faces in the same image
* or in two different images, this is defined by the `images.type` parameter.
* <br><br> The face detection result is displayed in the `detections`
* field. Each face is identified by two parameters: `faceIndex` (the index number of
* the face) and `imageIndex` (the index number of the image on which the face is
* detected). So, if there are two images each of which has two faces in them, the parameters will
* be the following: - First face in the first image: `faceIndex: 0`, `imageIndex:
* 0` - Second face in the first image: `faceIndex: 1`, `imageIndex: 0` -
* First face of the second image: `faceIndex: 0`, `imageIndex: 1` - Second
* face in the second image: `faceIndex: 1`, `imageIndex: 1`
* <br><br> Note that no more than two images of the same `type` are allowed
* for comparison.<br><br> The face detection result is displayed in the
* `detections` field. Each face is identified by two parameters: `faceIndex`
* (the index number of the face) and `imageIndex` (the index number of the image on
* which the face is detected). So, if there are two images each of which has two faces in them,
* the parameters will be the following: - First face in the first image: `faceIndex:
* 0`, `imageIndex: 0` - Second face in the first image: `faceIndex: 1`,
* `imageIndex: 0` - First face of the second image: `faceIndex: 0`,
* `imageIndex: 1` - Second face in the second image: `faceIndex: 1`,
* `imageIndex: 1`
*
* @param matchRequest (required)
* @param xRequestID Request header label. (optional)
Expand All @@ -420,14 +422,16 @@ public MatchResponse match(
* compare faces (1:1) To perform a comparison of faces in the same image or in two different
* images, use POST `/api/match`. It's possible to compare faces in the same image
* or in two different images, this is defined by the `images.type` parameter.
* <br><br> The face detection result is displayed in the `detections`
* field. Each face is identified by two parameters: `faceIndex` (the index number of
* the face) and `imageIndex` (the index number of the image on which the face is
* detected). So, if there are two images each of which has two faces in them, the parameters will
* be the following: - First face in the first image: `faceIndex: 0`, `imageIndex:
* 0` - Second face in the first image: `faceIndex: 1`, `imageIndex: 0` -
* First face of the second image: `faceIndex: 0`, `imageIndex: 1` - Second
* face in the second image: `faceIndex: 1`, `imageIndex: 1`
* <br><br> Note that no more than two images of the same `type` are allowed
* for comparison.<br><br> The face detection result is displayed in the
* `detections` field. Each face is identified by two parameters: `faceIndex`
* (the index number of the face) and `imageIndex` (the index number of the image on
* which the face is detected). So, if there are two images each of which has two faces in them,
* the parameters will be the following: - First face in the first image: `faceIndex:
* 0`, `imageIndex: 0` - Second face in the first image: `faceIndex: 1`,
* `imageIndex: 0` - First face of the second image: `faceIndex: 0`,
* `imageIndex: 1` - Second face in the second image: `faceIndex: 1`,
* `imageIndex: 1`
*
* @param matchRequest (required)
* @param xRequestID Request header label. (optional)
Expand Down Expand Up @@ -455,7 +459,8 @@ public ApiResponse<MatchResponse> matchWithHttpInfo(
* compare faces (1:1) (asynchronously) To perform a comparison of faces in the same image or in
* two different images, use POST &#x60;/api/match&#x60;. It&#39;s possible to compare faces in
* the same image or in two different images, this is defined by the &#x60;images.type&#x60;
* parameter. &lt;br&gt;&lt;br&gt; The face detection result is displayed in the
* parameter. &lt;br&gt;&lt;br&gt; Note that no more than two images of the same &#x60;type&#x60;
* are allowed for comparison.&lt;br&gt;&lt;br&gt; The face detection result is displayed in the
* &#x60;detections&#x60; field. Each face is identified by two parameters: &#x60;faceIndex&#x60;
* (the index number of the face) and &#x60;imageIndex&#x60; (the index number of the image on
* which the face is detected). So, if there are two images each of which has two faces in them,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import com.regula.facesdk.webclient.ApiResponse;
import com.regula.facesdk.webclient.gen.model.DetectRequest;
import com.regula.facesdk.webclient.gen.model.DetectResponse;
import com.regula.facesdk.webclient.gen.model.MatchRequest;
import com.regula.facesdk.webclient.gen.model.MatchResponse;
import com.regula.facesdk.webclient.gen.model.MatchAndSearchRequest;
import com.regula.facesdk.webclient.gen.model.MatchAndSearchResponse;
import com.regula.facesdk.webclient.gen.model.MatchRequest;
import com.regula.facesdk.webclient.gen.model.MatchResponse;

public class MatchApi extends com.regula.facesdk.webclient.gen.api.MatchApi {
public MatchApi() {
Expand Down Expand Up @@ -37,11 +37,13 @@ public DetectResponse detect(DetectRequest detectRequest) throws ApiException {
return localVarResp.getData();
}

public MatchAndSearchResponse matchAndSearch(MatchAndSearchRequest matchAndSearchRequest, String xRequestID) throws ApiException {
public MatchAndSearchResponse matchAndSearch(
MatchAndSearchRequest matchAndSearchRequest, String xRequestID) throws ApiException {
return super.matchAndSearch(matchAndSearchRequest, xRequestID);
}

public MatchAndSearchResponse matchAndSearch(MatchAndSearchRequest matchAndSearchRequest) throws ApiException {
public MatchAndSearchResponse matchAndSearch(MatchAndSearchRequest matchAndSearchRequest)
throws ApiException {
return super.matchAndSearch(matchAndSearchRequest, "");
}
}
Loading