Im trying to run go-face package in docker container. I have managed to setup dlib in my container. but, when I run the docker container i get these error messages
Can't recognize:
Error detected at line 1958.
Error detected in file /usr/local/include/dlib/image_transforms/interpolation.h.
Error detected in function dlib::chip_details dlib::get_face_chip_details(const dlib::full_object_detection&, long unsigned int, double).
Failing expression was det.num_parts() == 68.
chip_details get_face_chip_details()
You must give a detection with exactly 68 parts in it.
det.num_parts(): 5
Here is the Dockerfile and the golang code im using
FROM golang:1.11.1 as builder
ENV GOPATH /go
ADD . /project
WORKDIR /project
RUN \
bashfiles/setup.sh
WORKDIR /root/
COPY dlib-1.pc /usr/local/lib/pkgconfig/dlib-1.pc
RUN go get github.com/Kagami/go-face
WORKDIR /project
RUN go build -o app main.go
CMD ["./app"]
Im trying to run go-face package in docker container. I have managed to setup dlib in my container. but, when I run the docker container i get these error messages
Here is the Dockerfile and the golang code im using
here is my setup.sh bash file
Here is a sample golang code im using
What am I doing wrong ?