https://blog.csdn.net/eastmount/article/details/82177300
crop与paste的使用:
http://www.cnblogs.com/way_testlife/archive/2011/04/17/2019013.html
paste:
https://blog.csdn.net/MiniCatTwo/article/details/80626330
视频流任意区域截取:
https://blog.csdn.net/qq_30622831/article/details/81878067
=======================================================
截取方法:
box_frame = frame[ int(bbox[1]): int(bbox[3]), int(bbox[0]): int(bbox[2]) ]
前面是y方向, 后面是x方向
此处的bbox应是tlbr格式 (xmin, ymin, xmax, ymax)
np里面都是这样的默认0 是y , 1是x