Skip to content

Container image for running image, video and audio manipulation

License

Notifications You must be signed in to change notification settings

ucd-library/ucdlib-media-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UCD Library Media Utils

This is a collection of scripts and utilities for working with media files in the UCD Library. Currently the following applications are bundled:

Local Usage

Assuming you have a local pdf file named test.pdf in your current directory, you can run the following command to OCR the file:

docker run \
  -w /data \
  --rm \
  -v $(pwd):/data \
  gcr.io/ucdlib-pubreg/media-utils:latest \
  tesseract test.pdf test --dpi 300 -l eng --psm 1 --oem 3 hocr

Here is another example resizing an image:

docker run \
  -w data \
  --rm \
  -v $(pwd):/data \
  gcr.io/ucdlib-pubreg/media-utils:latest \
  convert test.png -resize 50% test_50.png

Examples

Checkout the dams-examples.md file for some examples of how this container is used with the DAMS.

Server

TODO

About

Container image for running image, video and audio manipulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published