videotosmi

Create a smi file based on the video.


License
MIT
Install
pip install videotosmi==0.0.1

Documentation

VideoToSMI

Create a smi file based on the video.

  • Copyright (c) 2019 Lee Dong-gun
  • How to install
    pip install "http://duration.digimoon.net/pip/videotosmi.whl"
    • other version
      # 0.0.1
      pip install "http://duration.digimoon.net/pip/videotosmi-0.0.1-cp36-none-any.whl"
  • Functions
    video = Video()
    
    # Goto https://github.com/Sotaneum/deepgeo
    def add_model(model_name, lib_name, config_data):
    pass
    
    # TO SMI
    def detect(file_url, model_name, frame_set, rotation, filter)
    return FILE
  • How to use
    • Import VideoToSMI
      from videotosmi import Video
    • Video To SMI
      video = Video()
      video.add_model('mscoco','maskrcnn','d:/config.json')
      filter_ = ['car','bus','truck']
      video.detect('d:/test.mov','mscoco',ftr=filter_)
      
      # rotation 180
      video.detect('d:/test.mov','mscoco',rotation=180, ftr=filter_)
      
      #Frame 60
      video.detect('d:/test.mov','mscoco',frame_set=60,rotation=180, ftr=filter_)