Skip to main content

Indonesian Video Salient Entity Detection

Project description

IndoVSE

IndoVSE is a Python package for extracting salient named entities from Indonesian videos.

Requirements

You must have ffmpeg installed on your system (not via pip).

  • Ubuntu/Debian: sudo apt install ffmpeg
  • MacOS: brew install ffmpeg
  • Windows: Download from official ffmpeg website and add it to your system PATH.

Installation

pip install indovse

(atau instal dari source: pip install -e . di dalam folder ini)

Usage

from indovse import predict_vid, predict_yt

# Models are downloaded and loaded during module import
# GPU is highly recommended for Whisper and BERT inference
result = predict_vid("video.mp4", top_k=5)

# YouTube URLs are also supported
yt_result = predict_yt("https://www.youtube.com/watch?v=example", top_k=5)

# Output is a dict with 'salient_entities' and 'entity_timeline'
print(result["salient_entities"])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

indovse-0.1.3.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

indovse-0.1.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file indovse-0.1.3.tar.gz.

File metadata

  • Download URL: indovse-0.1.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.1

File hashes

Hashes for indovse-0.1.3.tar.gz
Algorithm Hash digest
SHA256 15dc67b724d6f43e08ded3000e4e82e8eb1183676c8fd62421dfc846e0b00436
MD5 8c8190fb47991ee991c28e6608101927
BLAKE2b-256 e42f8a98960fb4f03902573bb0d62d83bf7c6bb6ae9311125c293c9eaa7157da

See more details on using hashes here.

File details

Details for the file indovse-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: indovse-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.1

File hashes

Hashes for indovse-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 21a2a1a06520a275e0ff7d6f07729462f3739004dcc4f891229f69bdecfb4731
MD5 a56b57d80b627766b9d1b8c0dc57c42a
BLAKE2b-256 dffb99a1e2530f68061510667f5244f1461024ad35971b3ece3c61ea9a2dc51b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page