sort icon indicating copy to clipboard operation
sort copied to clipboard

regarding output of sort

Open bundelesneha05 opened this issue 7 years ago • 3 comments

@abewley and @sodabeta7, I am giving input to sort a list of bounding boxes when sort execution is done it gives the result as bounding boxes with ids, but the problem is that the indexing order follows while feeding the sort data it's not same while getting the output. how should I maintain the indexing like one in one out with ids, plz help? thanks in advance!

bundelesneha05 avatar Feb 05 '19 17:02 bundelesneha05

I have the same problem, did you find an easy way to keep the bounding boxes order ?

ArthurOuaknine avatar Sep 18 '19 13:09 ArthurOuaknine

You will need to look closely to the output of the linear assignment. If the input is a new object you will have to wait until it is fully initialized and appears on the output.

On Wed, 18 Sep. 2019, 15:44 ArthurOuaknine, [email protected] wrote:

I have the same problem, did you find an easy way to keep the bounding boxes order ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/abewley/sort/issues/58?email_source=notifications&email_token=AB5YXK7TWW67OC3J2WWOMQ3QKIWC5A5CNFSM4GUO45I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ADN2A#issuecomment-532690664, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5YXK5N6R7WZ7WMHXO74ALQKIWC5ANCNFSM4GUO45IQ .

abewley avatar Sep 19 '19 05:09 abewley

Thanks for your hint! Actually the output of the linear assignment function helps to build a mapping between the bounding box ids (order of the input) and the tracker ids associated to each instance.

ArthurOuaknine avatar Sep 20 '19 14:09 ArthurOuaknine