From 0677605f1eae9edcb41b23b5b9eefb046b929652 Mon Sep 17 00:00:00 2001 From: William Song Date: Tue, 27 Jan 2015 13:28:17 -0800 Subject: [PATCH] actually use rgb instead of bgr... --- tools/convert_driving_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/convert_driving_data.cpp b/tools/convert_driving_data.cpp index 6c720607aa7..4ed024176d2 100644 --- a/tools/convert_driving_data.cpp +++ b/tools/convert_driving_data.cpp @@ -148,7 +148,7 @@ int main(int argc, char** argv) { box->set_img_height(resize_height); } if (!ReadImageToDatum(image_path, 0, - resize_height, resize_width, is_color, data.mutable_car_image_datum())) { + resize_height, resize_width, is_color, data.mutable_car_image_datum(), FLAGS_use_rgb)) { continue; }