You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start the API server with virtual environment active: python -m uvicorn api.server:app --reload --host localhost --port 8000
Open the frontend: open frontend/index.html in your browser, or serve it with python -m http.server 8080 --directory frontend in a different terminal and visit http://localhost:8080
Choose a video from the list (data/ folder) or upload your own. The video is processed once and not saved.
naming
snake_case for variables and functions
PascalCase for classes
UPPER_CASE for constants
structure
functions short and single purpose
imports at top of file
each module should handle one responsibility
docstring + type hints
add docstring for all functions and classes
defexample_function(path: str, output_dir: str) ->list:
"""Preprocess a raw video into standardized frames."""