Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kikkia/NeuralHashApi
Basic http api to run neural hash on a given image and return the result
https://github.com/kikkia/NeuralHashApi
Last synced: 4 days ago
JSON representation
Basic http api to run neural hash on a given image and return the result
- Host: GitHub
- URL: https://github.com/kikkia/NeuralHashApi
- Owner: kikkia
- Created: 2021-09-09T22:05:42.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-26T07:02:49.000Z (almost 3 years ago)
- Last Synced: 2024-08-02T20:46:56.635Z (3 months ago)
- Language: HTML
- Size: 6.2 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NeuralHashApi
[Public api site](https://hash.kikkia.dev)
Basic http api to run neural hash on a given image and return the resultThe point of this is to allow me to utilize a python implementation of neuralhash without needing to do it locally in other projects.
### This is a WIP## Run it yourself
I package a docker image at `registry.gitlab.com/kikkia/neuralhashapi:latest`You can use a docker compose file to spin up your own like so:
```yaml
version: '3.7'
services:
api:
image: registry.gitlab.com/kikkia/neuralhashapi:latest
restart: always
container_name: neuralhashApi
environment:
- SERVER_PORT=80
ports:
- 80:80
```### Configurable env variables
`SERVER_PORT` - Sets the port for the webserver. `Default: 80`
`DD_ENABLE` - Enable Datadog tracing. (DD Agent on server required, may need to set `network_mode` to host in `docker`) `Default: False`