Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/surnet/docker-opencv

opencv for multiple base images
https://github.com/surnet/docker-opencv

alpine docker docker-image dockerfile node opencv

Last synced: 6 days ago
JSON representation

opencv for multiple base images

Awesome Lists containing this project

README

        

# docker-opencv

This repo contains scripts to create docker images which will be available in multiple variants.

The purpose is to publish docker images with a working opencv installation and keep them as small as possible while delivering all functions.
The opencv version on node shall work for [opencv4nodejs](https://www.npmjs.com/package/opencv4nodejs).

## Naming

The published images follow a naming convention.

### Image name

The image name follows the format:

`surnet/--opencv` or `surnet/-opencv`

- `` matches the underlaying os.
- `` matches the used base image.
- `` matches the used base image if the os and base image are the same.

e.g. `surnet/alpine-node-opencv` or `surnet/alpine-opencv`

### Tags

The tags represent version numbers which follow the format:

`<1>-<2>-<3>`

- `<1>` matches the version of the base image.
- `<2>` matches the opencv version.
- `<3>` matches the Edition (see next chapter).

e.g. `16.14.2-4.5.4-base`

## Editions

There are two editions available for each version.

- `base` contains only opencv. This should be sufficient for most use-cases
- `text` contains opencv and the module text from opencv_contrib.

## Available Images

### surnet/alpine-opencv

[![Docker Stars](https://img.shields.io/docker/stars/surnet/alpine-opencv.svg)](https://hub.docker.com/r/surnet/alpine-opencv/)
[![Docker Pulls](https://img.shields.io/docker/pulls/surnet/alpine-opencv.svg)](https://hub.docker.com/r/surnet/alpine-opencv/)

This image can be used as a base for your project.

For a list of available versions please see the page on [Docker Hub](https://hub.docker.com/r/surnet/alpine-opencv/tags/) or the [GitHub Container Registry](https://github.com/orgs/Surnet/packages/container/package/alpine-opencv).
If a version you would like is missing please open an issue on this repo.

#### Docker Hub

```yaml
FROM surnet/alpine-opencv:
```

#### GitHub Container Registry

```yaml
FROM ghcr.io/surnet/alpine-opencv:
```

### surnet/alpine-node-opencv

[![Docker Stars](https://img.shields.io/docker/stars/surnet/alpine-node-opencv.svg)](https://hub.docker.com/r/surnet/alpine-node-opencv/)
[![Docker Pulls](https://img.shields.io/docker/pulls/surnet/alpine-node-opencv.svg)](https://hub.docker.com/r/surnet/alpine-node-opencv/)

This image can be used as a base for your NodeJS project.
The opencv version is compatible and configured for use with [opencv4nodejs](https://www.npmjs.com/package/opencv4nodejs).

For a list of available versions please see the page on [Docker Hub](https://hub.docker.com/r/surnet/alpine-node-opencv/tags/) or the [GitHub Container Registry](https://github.com/orgs/Surnet/packages/container/package/alpine-node-opencv).
If a version you would like is missing please open an issue on this repo.

#### Docker Hub

```yaml
FROM surnet/alpine-node-opencv:
```

#### GitHub Container Registry

```yaml
FROM ghcr.io/surnet/alpine-node-opencv:
```

## Contribute

Please feel free to open a issue or pull request with suggestions.

Keep in mind that the build process of these container takes some time.

## Credits

Based upon the following repos/inputs:
- https://github.com/Surnet/docker-wkhtmltopdf
- https://github.com/dkimg/opencv