PostProcessingApi

class edgeimpulse_api.api.post_processing_api.PostProcessingApi(
		api_client=None
)
Parameters
  • api_client=None

Methods

generate_post_processing_features_for_sample

edgeimpulse_api.api.post_processing_api.generate_post_processing_features_for_sample(
		self,
		project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsisdescription='Project ID'extra={})],
		post_processing_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsisdescription='Post-processing Block ID, use the impulse functions to retrieve the ID'extra={})],
		sample_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsisdescription='Sample ID'extra={})],
		post_processing_config_request: edgeimpulse_api.models.post_processing_config_request.PostProcessingConfigRequest,
		**kwargs
) ‑> edgeimpulse_api.models.generate_post_processing_features_for_sample200_response.GeneratePostProcessingFeaturesForSample200Response
Classify sample with post-processing Classify a sample using post-processing parameters. Sample should be in the post-processing dataset. Parameters
  • self
  • project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
  • post_processing_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Post-processing Block ID, use the impulse functions to retrieve the ID’, extra=)]
  • sample_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Sample ID’, extra=)]
  • post_processing_config_request: edgeimpulse_api.models.post_processing_config_request.PostProcessingConfigRequest
  • **kwargs
Return edgeimpulse_api.models.generate_post_processing_features_for_sample200_response.GeneratePostProcessingFeaturesForSample200Response

get_post_processing_config

edgeimpulse_api.api.post_processing_api.get_post_processing_config(
		self,
		project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsisdescription='Project ID'extra={})],
		post_processing_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsisdescription='Post-processing Block ID, use the impulse functions to retrieve the ID'extra={})],
		**kwargs
) ‑> edgeimpulse_api.models.post_processing_config_response.PostProcessingConfigResponse
Get post-processing block config Retrieve the configuration parameters for a post-processing block. Use the impulse functions to retrieve all post-processing blocks. Parameters
  • self
  • project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
  • post_processing_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Post-processing Block ID, use the impulse functions to retrieve the ID’, extra=)]
  • **kwargs
Return edgeimpulse_api.models.post_processing_config_response.PostProcessingConfigResponse

get_post_processing_results_for_sample

edgeimpulse_api.api.post_processing_api.get_post_processing_results_for_sample(
		self,
		project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsisdescription='Project ID'extra={})],
		post_processing_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsisdescription='Post-processing Block ID, use the impulse functions to retrieve the ID'extra={})],
		sample_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsisdescription='Sample ID'extra={})],
		post_processing_config_request: edgeimpulse_api.models.post_processing_config_request.PostProcessingConfigRequest,
		**kwargs
) ‑> edgeimpulse_api.models.get_post_processing_results_for_sample_response.GetPostProcessingResultsForSampleResponse
Check post-processing results for sample Retrieve post-processing results for a specific sample, e.g. whether it has generated features already. Parameters
  • self
  • project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
  • post_processing_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Post-processing Block ID, use the impulse functions to retrieve the ID’, extra=)]
  • sample_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Sample ID’, extra=)]
  • post_processing_config_request: edgeimpulse_api.models.post_processing_config_request.PostProcessingConfigRequest
  • **kwargs
Return edgeimpulse_api.models.get_post_processing_results_for_sample_response.GetPostProcessingResultsForSampleResponse

set_post_processing_config

edgeimpulse_api.api.post_processing_api.set_post_processing_config(
		self,
		project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsisdescription='Project ID'extra={})],
		post_processing_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsisdescription='Post-processing Block ID, use the impulse functions to retrieve the ID'extra={})],
		post_processing_config_request: edgeimpulse_api.models.post_processing_config_request.PostProcessingConfigRequest,
		**kwargs
) ‑> edgeimpulse_api.models.generic_api_response.GenericApiResponse
Set post-processing block config Set configuration parameters for a post-processing block. Only values set in the body will be overwritten. Parameters
  • self
  • project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
  • post_processing_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Post-processing Block ID, use the impulse functions to retrieve the ID’, extra=)]
  • post_processing_config_request: edgeimpulse_api.models.post_processing_config_request.PostProcessingConfigRequest
  • **kwargs
Return edgeimpulse_api.models.generic_api_response.GenericApiResponse