How to save every tracking object as image into its respective folder?
I've been trying to save every trackable object into image and save into their respective folder. I observed that a single time appeared objects are not being in tracks-objects. Would somebody tell me how to save as cropped image of every track-id assigned object even a single time appeared object? Thanks a lot.
Personally, I would do it outside of the actual tracking code in a way similar to how the results are saved here. The question how to crop and save image regions is a bit off topic for this issue tracker, but I'll leave it open for a while in case someone finds the time to help you with that.
@prnvjb you've already got the bounding boxes for each object so it should be pretty easy to save. Just create a new image using numpy slicing (e.g., something like new_image = old_image[y:y+h, x:x+w,:]) and then save using opencv cv2.imwrite.
@prnvjb I have been currently facing this issue and have you already finding the solution? If so, could you please let me know how to handle this issues?