transforEmotion: Transformer Emotion Analysis for Text, Image, Video, and Speech

Zero-shot emotion classification for text, images, video and speech, and tools to find faces and code them by hand. Text is scored with 'Hugging Face' transformer pipelines (default 'cross-encoder/nli-distilroberta-base'). Images and video are scored with 'OpenAI CLIP'; faces can be limited to those found by 'OpenCV YuNet'. Speech segments are scored with 'LAION CLAP'. Frame scores can be calibrated and combined into posteriors, and detected faces or other items can be turned into a local coding task served from R. Any other zero-shot model can be selected by its name on <https://huggingface.co/models>. For details see Tomašević, Golino, and Christensen (2026) <doi:10.5117/CCR2026.2.2.TOMA>.

Package details

AuthorAlexander Christensen [aut] (ORCID: <https://orcid.org/0000-0002-9798-7037>), Hudson Golino [aut] (ORCID: <https://orcid.org/0000-0002-1601-1447>), Aleksandar Tomašević [aut, cre] (ORCID: <https://orcid.org/0000-0003-4863-6051>)
MaintainerAleksandar Tomašević <atomashevic@gmail.com>
LicenseGPL (>= 3.0)
Version0.1.9
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("transforEmotion")

Try the transforEmotion package in your browser

Any scripts or data that you put into this service are public.

transforEmotion documentation built on Oct. 26, 2026, 5:07 p.m.