Giter Club home page Giter Club logo

videoanalysis's People

Contributors

alkatar21 avatar thomasroefer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

videoanalysis's Issues

fails to run

I am trying to run the analysis against an mp4 video and it fails.

╭─VideoAnalysis on  main [?] via 🐍 v3.8.7 (.venv) took 4m49s ❯
└─> bin/analyze.py ~/mount/hpdev2-nfs-export/Soccer2023/Game8/REC_0001_overhead.MP4
    INFO: YOLOv5 🚀 torch 2.0.0 CPU

    INFO: Loading /Users/i530566/Desktop/Soccer games/test/VideoAnalysis/weights/best.mlmodel for CoreML inference...
Traceback (most recent call last):
  File "bin/analyze.py", line 82, in <module>
    cli()  # pylint: disable=no-value-for-parameter
  File "/Users/i530566/Desktop/Soccer games/test/VideoAnalysis/.venv/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/Users/i530566/Desktop/Soccer games/test/VideoAnalysis/.venv/lib/python3.8/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/Users/i530566/Desktop/Soccer games/test/VideoAnalysis/.venv/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/i530566/Desktop/Soccer games/test/VideoAnalysis/.venv/lib/python3.8/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "bin/analyze.py", line 64, in cli
    analysis = VideoAnalysis(
  File "/Users/i530566/Desktop/Soccer games/test/VideoAnalysis/video_analysis/__init__.py", line 94, in __init__
    self._world_model = WorldModel(Camera(self._dataset.fps, self._settings), log, half == 2, field)
  File "/Users/i530566/Desktop/Soccer games/test/VideoAnalysis/video_analysis/world_model/__init__.py", line 38, in __init__
    self.game_state: GameState = GameState(log, snd_half)
  File "/Users/i530566/Desktop/Soccer games/test/VideoAnalysis/video_analysis/world_model/game_state.py", line 52, in __init__
    with open(log, encoding="UTF-8", newline="\n") as logfile:
TypeError: expected str, bytes or os.PathLike object, not NoneType

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.