foolwood / DCFNet_pytorch

DCFNet: Discriminant Correlation Filters Network for Visual Tracking
https://arxiv.org/pdf/1704.04057.pdf
MIT License
207 stars 60 forks source link

question about crop_chw in utils.py #25

Open poppinjie opened 2 years ago

poppinjie commented 2 years ago

Why do you use cv2.warpAffine to attain the goal of cropping an image rather than crop the image derectly?