How to add “Tracker” in openCV python 2.7

前端 未结 5 1903
一个人的身影
一个人的身影 2020-12-20 14:05

I’m working with python 2.7 and opencv 3.1 I want to run a code for tracking objects by this:

import cv2
import sys

if __name__ == \'__main__\' :

    # Set         


        
5条回答
  •  臣服心动
    2020-12-20 15:08

    Just install opencv-contrib-python

    pip install opencv-contrib-python
    

    and it will work !

提交回复
热议问题