on-internet
← Community

Unable to run haarcascade_frontalface_default.xml in docker

Stack Overflow ·

I have made a simple scala application that uses OpenCV-4.8.0 that extract face from image via Haar-Cascade (haarcascade_frontalface_default.xml). The above functionality working fine on local machine. Now I'm trying to achieve same functionality through dockerization, for this I've followed, following steps. Here is the build.sbt, in which we are creating an Image via sbt-native-packager and then installed OpenCV-4.8.0 via dockerCommands. import com.typesafe.sbt.packager.docker._ ThisBuild / version := "0.1.0-SNAPSHOT" ThisBuild / scalaVersion := "2.13.4" lazy val root = (project in file(".")

Comments

Sign in or sign up to comment and upvote.

No comments yet.