Home
last modified time | relevance | path

Searched refs:cropped_image (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dimage_preprocessing_stage.cc127 std::vector<float>* cropped_image = new std::vector<float>(); in Crop() local
128 cropped_image->reserve(crop_height * crop_width * kNumChannels); in Crop()
132 cropped_image->push_back(image_data->GetData(in_h, in_w, c)); in Crop()
138 image_data->data.reset(cropped_image); in Crop()
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dimage-inl.h119 Image<T>* const cropped_image = new Image(new_width, new_height); in Crop() local
122 memcpy((*cropped_image)[y], ((*this)[y + top] + left), in Crop()
126 return cropped_image; in Crop()