PiperOrigin-RevId: 528829423
This commit is contained in:
MediaPipe Team 2023-05-02 10:49:40 -07:00 committed by Copybara-Service
parent 4d112c132f
commit 421c9e8e97

View File

@ -242,7 +242,7 @@ class FaceDetectorGraph : public core::ModelTaskGraph {
auto matrix = preprocessing.Out(kMatrixTag); auto matrix = preprocessing.Out(kMatrixTag);
auto image_size = preprocessing.Out(kImageSizeTag); auto image_size = preprocessing.Out(kImageSizeTag);
// Face detection model inferece. // Face detection model inference.
auto& inference = AddInference( auto& inference = AddInference(
model_resources, subgraph_options.base_options().acceleration(), graph); model_resources, subgraph_options.base_options().acceleration(), graph);
preprocessed_tensors >> inference.In(kTensorsTag); preprocessed_tensors >> inference.In(kTensorsTag);