licornea_tools
obj_img_correspondence.cc
Go to the documentation of this file.
2 
3 namespace tlz {
4 
6  const json& j_cor = j_set.front().front();
8  for(auto it = j_cor.begin(); it != j_cor.end(); ++it) {
9  const std::string& key = it.key();
10  if(key.substr(0, 6) == "object") dim.obj_count++;
11  else if(key.substr(0, 5) == "image") dim.img_count++;
12  }
13  return dim;
14 }
15 
16 }
obj_img_correspondences_set_dim decode_obj_img_correspondences_set_dim(const json &j_set)
nlohmann::json json
Definition: json.h:11