i have a haar detection and it produces me some nearby detections:
[[ 31 85 232 116]
[141 55 66 33]
[112 41 104 52]]
each list have the following values: x,y,w,h
id like to get the most left top X,Y and the most right bottom x,y of all detections.
i tryed to use min() and max() but ot produces a error.
and after that i tryed to use Numpy and i canot make what i need
import numpy as np
l = [10, 22, 8, 8, 11]
print(np.argmax(l))
print(np.argmin(l))
in my problen the list should be the list of lists and i want to get only lesser x,y and higer x,y