30 AINFO <<
"load proto param failed, root dir: " << config_file;
46 std::vector<base::TrafficLightPtr> candidate(1);
49 if (light->region.is_detected) {
52 AINFO <<
"Recognize Use Quadrate Model!";
53 classify_quadrate_->Perform(frame, &candidate);
55 AINFO <<
"Recognize Use Vertical Model!";
56 classify_vertical_->Perform(frame, &candidate);
58 AINFO <<
"Recognize Use Horizonal Model!";
59 classify_horizontal_->Perform(frame, &candidate);
65 light->status.confidence = 0;
bool GetProtoFromFile(const std::string &file_name, google::protobuf::Message *message)
Parses the content of the file specified by the file_name as a representation of protobufs,...