class ImageAnalysis::ImageAnalysisResultDetails

이미지 분석 결과와 관련된 추가 정보를 나타냅니다.

여기에는 서비스의 원시 JSON 응답 및 서비스 연결 및 이미지 원본과 관련된 기타 세부 정보가 포함됩니다.

멤버

GetResultId

구문: public inline std::string GetResultId ( ) const;

이 결과와 연결된 Vision Service에서 고유 식별자를 가져옵니다.

반환

결과 ID 문자열입니다.

GetResultId

구문: public template< > inline AI::Core::_detail::enable_if_w_or_string_t< T > GetResultId ( ) const;

이 결과와 연결된 Vision Service에서 고유 식별자를 가져옵니다.

반환

고유 ID 문자열입니다.

GetJsonResult

구문: public inline std::string GetJsonResult ( );

제공된 ImageAnalysisResult를 만들기 위해 역직렬화된 Vision Service에서 JSON 응답 페이로드를 가져옵니다.

반환

JSON 문자열입니다.

GetImageId

구문: public inline std::string GetImageId ( ) const;

분석된 이미지의 식별자를 가져옵니다. VisionSource를 만든 방법에 따라 전체 경로 이미지 파일 이름, 이미지 URL 또는 빈 문자열일 수 있습니다. 이미지가 바이트 배열로 전달된 경우 빈 문자열이 됩니다.

반환

이미지 ID 문자열입니다.

GetConnectionUrl

구문: public inline std::string GetConnectionUrl ( ) const;

이러한 결과를 얻기 위해 이미지 분석 서비스에 연결하는 데 사용되는 전체 URL을 가져옵니다. 여기에는 쿼리 URL 매개 변수가 포함됩니다.

반환

연결 URL입니다.

FromResult

구문: public inline static std::shared_ptr< ImageAnalysisResultDetails > FromResult ( const std::shared_ptr< ImageAnalysisResult > & result );

지정된 ImageAnalysisResult 개체에서 ImageAnalysisResultDetails의 instance 반환합니다. ImageAnalysisResultDetails 개체를 생성하는 유일한 방법입니다.

매개 변수

  • result 이미지 분석 결과

반환

결과 세부 정보가 포함된 ImageAnalysisResultDetails의 instance