Или просто используйте:
Mat a, Mat b, Mat dst // a,b loaded
cv::hconcat(a, b, dst) // horizontal
cv::vconcat(a, b, dst) // vertical
Mat dst -> | a | b |
или сделать это с помощью вектора:
std::vector<cv::Mat> matrices = {
a, b
};
hconcat(matrices, dst);
Этот фрагмент кода создает кортеж, когда похоже, что вы пытаетесь добавить команду в свой список, который был загружен из json.
team_cr = {
"name": name, # Adds the name of the team to a JSON
"members": 0,
"publicID": "",
"teamColor": color, # Adds the color of the team to a JSON
"games": 0,
"win": 0,
"kd": 0
},team
Вы можете попробовать добавить новый бит данных в список.
team.append({your new data})