Closed neilenns closed 4 years ago
Can you tell me more information about your configuration?
Environment is:
Ubuntu 18.04.4 server
Docker version 19.03.6, build 369ce74a3c
Docker-compose:
version: "3.8"
services:
trigger:
volumes:
# Change d:/myfolder/myimages to point to the folder that will have the images
# to analyze. Only change the local path that is before the :/aiinput portion.
# Don't change the :/aiinput part. For example, if you are on Windows and your
# images are stored locally in d:/blueiris/capturedImages your final line should
# look like this:
# d:/blueIris/capturedImages:/aiinput
- ./aiinput:/aiinput
environment:
# Change this to match the timezone the images are produced in,
# Typically this will be the timezone of the machine running
# the Docker container. For a list of valid timezone values
# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
# The value to use is in the "TZ database name" column.
- TZ=America/Chicago
ports:
# This port is used by the local web server when annotated images are enabled.
# If you change the port used by the local web server in the settings.json file
# this also has to change to match.
- 4242:4242
# ------------------------------------------------------------------------
# Don't change anything below this line unless you know what you are doing
secrets:
- triggers
- settings
image: danecreekphotography/node-deepstackai-trigger:latest
restart: always
depends_on:
- deepstack-ai
deepstack-ai:
image: deepquestai/deepstack:noavx
restart: always
ports:
- 5000:5000
volumes:
- localstorage:/datastore
environment:
- VISION-DETECTION=True
volumes:
localstorage:
secrets:
settings:
# This should point to the location of the settings.json configuration file
file: ./settings.json
triggers:
# This should point to the location of the triggers.json configuration file
file: ./triggers.json
Interesting. I've never run this directly on Ubuntu (instead of on Windows Docker). It really shouldn't matter, since I use the same system to detect chanes to the settings files as I do for the new images arriving. I'm not sure what could be happening here. 🙁
I'm having the same issue on Windows Docker; from what I can tell the secrets files are not being mapped correctly to the docker container. No matter what I put for a file location in the docker-compose file, if I CLI into the docker container there are the two default settings and triggers files under /run/secrets.
@crunchymetal please open a new support issue for your situation and include the docker-compose.yaml file and a complete output log. Thanks!
Oh my god I'm an idiot, I was editing an old copy of the files. Everything working as expected for me. Apologies for wasting your time.
Been there, done that! 😂
No response after two weeks, closing.
I know this issue is closed. How are people figuring out the coordinates to mask? Is there some software that is being used?
I know this issue is closed. How are people figuring out the coordinates to mask? Is there some software that is being used?
Paint.net will show cursor coordinates, you can get it here: https://www.getpaint.net/
The built in Paint app in Windows 10 will also show you the x,y and width,height coordinates of a selection rectangle.
Awesome, I didn't want to ask a ridiculous question but I tried PS and it wasn't working out. I appreciate you both!
I omitted the lines about images being skipped, but here's the log:
Originally posted by @minideezel in https://github.com/danecreekphotography/node-deepstackai-trigger/issues/345#issuecomment-659573004