How to sort a structure after applying haar cascades?

voxdeserti's picture

Hello, everybody! I just realized that 'Apply haar cascade' patch brings out a XYWH structure automatically sorted by acsending rectangle scale. So it cannot match concrete face (for example) in all cases. And the result is that augmented graphics begin hopping between several faces. Is there any tactics to fix this? Maybe some kind of a structure sort?

itsthejayj's picture
Re: How to sort a structure after applying haar cascades?

Have you tried 'structure sort'? in the patch preferences you can use descending sorting of keys using '!keyname

voxdeserti's picture
Re: How to sort a structure after applying haar cascades?

Thanks: structure sort works))