Get Maximum value from a vector which hold the image label

asked 2015-09-12 02:32:27 -0600

lm35 gravatar image

updated 2015-09-12 02:32:51 -0600

Is it possible to get the maximum value with in this vector 'label'

vector<mat> images; vector<int> labels; read_csv(fn_csv, images, labels);

edit retag flag offensive close merge delete

Comments

so, you're reading a csv file. and then ? the maximum of what ?

berak gravatar imageberak ( 2015-09-12 02:40:15 -0600 )edit

Would like to know if it is possible to get the maximum value that is stored in a variable of type "vector <mat>" or "vector<int>"

lm35 gravatar imagelm35 ( 2015-09-14 23:40:03 -0600 )edit