ProcessorConfig constructor
ProcessorConfig({
- VideoStreamInputConfig? videoStreamInputConfig,
- MediaWarehouseConfig? mediaWarehouseConfig,
- PersonBlurConfig? personBlurConfig,
- OccupancyCountConfig? occupancyCountConfig,
- VertexAutoMLVisionConfig? vertexAutomlVisionConfig,
- VertexAutoMLVideoConfig? vertexAutomlVideoConfig,
- PersonVehicleDetectionConfig? personVehicleDetectionConfig,
- VertexCustomConfig? vertexCustomConfig,
- GeneralObjectDetectionConfig? generalObjectDetectionConfig,
- BigQueryConfig? bigQueryConfig,
- AIEnabledDevicesInputConfig? aiEnabledDevicesInputConfig,
- PersonalProtectiveEquipmentDetectionConfig? personalProtectiveEquipmentDetectionConfig,
Implementation
factory ProcessorConfig({
VideoStreamInputConfig? videoStreamInputConfig,
MediaWarehouseConfig? mediaWarehouseConfig,
PersonBlurConfig? personBlurConfig,
OccupancyCountConfig? occupancyCountConfig,
VertexAutoMLVisionConfig? vertexAutomlVisionConfig,
VertexAutoMLVideoConfig? vertexAutomlVideoConfig,
PersonVehicleDetectionConfig? personVehicleDetectionConfig,
VertexCustomConfig? vertexCustomConfig,
GeneralObjectDetectionConfig? generalObjectDetectionConfig,
BigQueryConfig? bigQueryConfig,
AIEnabledDevicesInputConfig? aiEnabledDevicesInputConfig,
PersonalProtectiveEquipmentDetectionConfig? personalProtectiveEquipmentDetectionConfig,
}) {
final $result = create();
if (videoStreamInputConfig != null) {
$result.videoStreamInputConfig = videoStreamInputConfig;
}
if (mediaWarehouseConfig != null) {
$result.mediaWarehouseConfig = mediaWarehouseConfig;
}
if (personBlurConfig != null) {
$result.personBlurConfig = personBlurConfig;
}
if (occupancyCountConfig != null) {
$result.occupancyCountConfig = occupancyCountConfig;
}
if (vertexAutomlVisionConfig != null) {
$result.vertexAutomlVisionConfig = vertexAutomlVisionConfig;
}
if (vertexAutomlVideoConfig != null) {
$result.vertexAutomlVideoConfig = vertexAutomlVideoConfig;
}
if (personVehicleDetectionConfig != null) {
$result.personVehicleDetectionConfig = personVehicleDetectionConfig;
}
if (vertexCustomConfig != null) {
$result.vertexCustomConfig = vertexCustomConfig;
}
if (generalObjectDetectionConfig != null) {
$result.generalObjectDetectionConfig = generalObjectDetectionConfig;
}
if (bigQueryConfig != null) {
$result.bigQueryConfig = bigQueryConfig;
}
if (aiEnabledDevicesInputConfig != null) {
$result.aiEnabledDevicesInputConfig = aiEnabledDevicesInputConfig;
}
if (personalProtectiveEquipmentDetectionConfig != null) {
$result.personalProtectiveEquipmentDetectionConfig = personalProtectiveEquipmentDetectionConfig;
}
return $result;
}