Welcome to CLAMS Python SDK documentation!¶
CLAMS project¶
CLAMS project aims at free and open-source software platform for computational analysis and metadata generation applications for multimedia material. We believe free and open AI-based multimedia processing platform can bring many benefits of technical advancement to libraries, archives, and museums. To achieve interoperability between various computational applications developed be different vendors, which is absolutely necessary for using applications together supported by user-friendly workflow engines, we are also developing JSON-based MultiMedia Interchange Format (MMIF)
clams-python¶
clams-python is a Python implementation of the CLAMS SDK. clams-python provides CLAMS app developers with the following assistance ;
handling MMIF files for input and output specification for CLAMS apps
a base Python class to start developing a CLAMS app
a flask-based wrapper to run a Python CLAMS app as an HTTP web app
cookie-cutter shell command that sets up everything and starts a new CLAMS app project
Start now from Getting Started!¶
For more …¶
What’s New in 1.5.0¶
(Full changelog available in the CHANGELOG.md)
Overview¶
Adds tfSamplingMode as a universal runtime parameter and overhauls container image builds with arm64 support and split HuggingFace/transformers versioning.
Additions¶
Add
tfSamplingModeuniversal parameter for controlling frame selection from TimeFrame annotations, integrated with mmif-python’s new sampling API (https://github.com/clamsproject/clams-python/pull/278, https://github.com/clamsproject/clams-python/pull/280)
Changes¶
Fix arm64 container builds and split
-hfimages into-hf4/-hf5with-hfas alias to-hf5for backward compat; dropped-tf2-hfcombined images (https://github.com/clamsproject/clams-python/pull/276, https://github.com/clamsproject/clams-python/pull/281)
[!NOTE] This release requires
mmif-python >= 1.3.0for the sampling mode API.