Skip to content

Adds loading images directly from Redis storage i.e. from Thumbor

License

Notifications You must be signed in to change notification settings

benneic/remotecv_redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remotecv_redis

Redis image loader for RemoteCV which is an OpenCV worker for facial and feature recognition

Use with Thumbor

This loader is intended to be compatible with the Thumbor Storage plugin tc_redis.storage.redis_storage from thumbor-community/redis.

Config

Set the following enviroment variables before running RemoteCV:

## Redis server host to connect
## defaults to localhost
REMOTECV_REDIS_LOADER_HOST = localhost

## Redis server port to connect
## defaults to 6379
REMOTECV_REDIS_LOADER_PORT = 6379

## Redis database id to query
## defaults to 0
REMOTECV_REDIS_LOADER_DATABASE = 0

## Redis serverpassword
#REMOTECV_REDIS_LOADER_PASSWORD

## What user agent should we send when requesting images from HTTP fallback
## defaults to True
REMOTECV_REDIS_LOADER_HTTP_FALLBACK = True

## What user agent should we send when requesting images from HTTP fallback
## defaults to RemoteCV/1
REMOTECV_REDIS_LOADER_HTTP_USER_AGENT = "RemoteCV/1"

Running RemoteCV

See RemoteCV repo or use the Docker container maintaned by MinimalCompact as a base image... see /docker/Dockerfile for an example.

About

Adds loading images directly from Redis storage i.e. from Thumbor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published