-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
I've pulled down the most recent docker image and face detection is failing.
Environment:
$ docker-compose --version
docker-compose version 1.18.0, build 8dd22a9
$docker info
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 34
Server Version: 17.12.1-ce
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 40
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9b55aab90508bd389d7654c4baf173a981477d55
runc version: 9f9c96235cc97674e935002fc3d78361b696a69e
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.4.119-boot2docker
Operating System: Boot2Docker 17.12.1-ce (TCL 8.2.1); HEAD : 42357fc - Wed Feb 28 17:52:00 UTC 2018
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 995.8MiB
Name: default
ID: GTCT:I2KZ:KRRD:WYEG:LWM6:SB5I:PMTS:3PO2:RBC2:Y6HS:NAPN:WH2Y
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 40
Goroutines: 57
System Time: 2018-03-13T20:15:13.959656714Z
EventsListeners: 1
Registry: https://index.docker.io/v1/
Labels:
provider=virtualbox
Experimental: false
Insecure Registries:
127.0.0.0/8
Steps to recreate
- docker-compose build
- docker-compose up
- navigate to docker-machine ip address
- select image, select detect faces
- receive 500 error
Error reprorted
cv_1 | Error: Mat::DrawRectangle - Error: expected argument 3 to be of type int
cv_1 | at Error (native)
cv_1 | at detection.objects.forEach (/app/src/services/faceDetection.js:15:14)
cv_1 | at Array.forEach (native)
cv_1 | at Object.module.exports [as detectFaces] (/app/src/services/faceDetection.js:13:21)
cv_1 | at app.post (/app/src/server.js:26:29)
cv_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
cv_1 | at next (/app/node_modules/express/lib/router/route.js:137:13)
cv_1 | at requiresImgBase64 (/app/src/server.js:22:10)
cv_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
cv_1 | at next (/app/node_modules/express/lib/router/route.js:137:13)```
Metadata
Metadata
Assignees
Labels
No labels