SeraphimUtils

package module
v1.2.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 10 Imported by: 0

README

SeraphimUtils

The SeraphimUtils are a package that belongs to the Seraphim Image Collection Control Engine. The Package provides some functionality to work with images, videos and Text, such as Video-Scene detection using OpenCV.

This package is still in it's early stage and subject to heavy Changes. Do NOT use in Production!!!!

Installation

go get git.braindead-labs.de/linny/SeraphimUtils

T.B.D

Documentation

Overview

Package SeraphimUtils provides a collection of functions for working with images and videos.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExifData

func GetExifData(imagePath string) (structs.ExifData, error)

Gets the exif data from an image

func ImageToBase64

func ImageToBase64(imagePath string) (string, error)

Converts an image to a base64 string

func VideoSceneDetection

func VideoSceneDetection(path string, thumbnailPath string, precision float32) (structs.ScanResult, error)

VideoSceneDetection scans a video file for scene changes and returns the timecodes and frames where changes occur, as well as video information such as duration, FPS, and codec. It takes a path string as input and returns timecodes []string, frames []int, VideoInfo, and error.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL