CustomVisionPredictionClient 클래스
- 상속
-
azure.cognitiveservices.vision.customvision.prediction.operations._custom_vision_prediction_client_operations.CustomVisionPredictionClientOperationsMixinCustomVisionPredictionClientCustomVisionPredictionClient
생성자
CustomVisionPredictionClient(endpoint, credentials)
매개 변수
변수
클라이언트에 대한 구성입니다.
메서드
classify_image |
이미지를 분류하고 결과를 저장합니다. |
classify_image_url |
이미지 URL을 분류하고 결과를 저장합니다. |
classify_image_url_with_no_store |
결과를 저장하지 않고 이미지 URL을 분류합니다. |
classify_image_with_no_store |
결과를 저장하지 않고 이미지를 분류합니다. |
close |
keep_alive True이면 클라이언트를 닫습니다. |
detect_image |
이미지에서 개체를 검색하고 결과를 저장합니다. |
detect_image_url |
이미지 URL에서 개체를 검색하고 결과를 저장합니다. |
detect_image_url_with_no_store |
결과를 저장하지 않고 이미지 URL에서 개체를 검색합니다. |
detect_image_with_no_store |
결과를 저장하지 않고 이미지에서 개체를 검색합니다. |
classify_image
이미지를 분류하고 결과를 저장합니다.
classify_image(project_id, published_name, image_data, application=None, custom_headers=None, raw=False, **operation_config)
매개 변수
- operation_config
작업 구성 재정의.
반환
ImagePrediction 또는 ClientRawResponse if raw=true
반환 형식
예외
classify_image_url
이미지 URL을 분류하고 결과를 저장합니다.
classify_image_url(project_id, published_name, url, application=None, custom_headers=None, raw=False, **operation_config)
매개 변수
- operation_config
작업 구성 재정의.
반환
ImagePrediction 또는 ClientRawResponse if raw=true
반환 형식
예외
classify_image_url_with_no_store
결과를 저장하지 않고 이미지 URL을 분류합니다.
classify_image_url_with_no_store(project_id, published_name, url, application=None, custom_headers=None, raw=False, **operation_config)
매개 변수
- operation_config
작업 구성 재정의.
반환
ImagePrediction 또는 ClientRawResponse if raw=true
반환 형식
예외
classify_image_with_no_store
결과를 저장하지 않고 이미지를 분류합니다.
classify_image_with_no_store(project_id, published_name, image_data, application=None, custom_headers=None, raw=False, **operation_config)
매개 변수
- operation_config
작업 구성 재정의.
반환
ImagePrediction 또는 ClientRawResponse if raw=true
반환 형식
예외
close
detect_image
이미지에서 개체를 검색하고 결과를 저장합니다.
detect_image(project_id, published_name, image_data, application=None, custom_headers=None, raw=False, **operation_config)
매개 변수
- operation_config
작업 구성 재정의.
반환
ImagePrediction 또는 ClientRawResponse if raw=true
반환 형식
예외
detect_image_url
이미지 URL에서 개체를 검색하고 결과를 저장합니다.
detect_image_url(project_id, published_name, url, application=None, custom_headers=None, raw=False, **operation_config)
매개 변수
- operation_config
작업 구성 재정의.
반환
ImagePrediction 또는 ClientRawResponse if raw=true
반환 형식
예외
detect_image_url_with_no_store
결과를 저장하지 않고 이미지 URL에서 개체를 검색합니다.
detect_image_url_with_no_store(project_id, published_name, url, application=None, custom_headers=None, raw=False, **operation_config)
매개 변수
- operation_config
작업 구성 재정의.
반환
ImagePrediction 또는 ClientRawResponse if raw=true
반환 형식
예외
detect_image_with_no_store
결과를 저장하지 않고 이미지에서 개체를 검색합니다.
detect_image_with_no_store(project_id, published_name, image_data, application=None, custom_headers=None, raw=False, **operation_config)
매개 변수
- operation_config
작업 구성 재정의.
반환
ImagePrediction 또는 ClientRawResponse if raw=true
반환 형식
예외
Azure SDK for Python
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기