1 | initial version |
the issue is fixed by using the build file (I found on web) and copying the opencv-248.jar in the ./lib folder
build.sbt DetectFaceDemo.java lib project target [root@hadoop1 java]# more build.sbt
name := "opencv_usage_scala"
scalaVersion := "2.11.6"
scalacOptions ++= Seq( "-unchecked", "-deprecation", "-optimize", "-Xlint" )
javaOptions in run += "-Djava.library.path=./lib"
lazy val root = (project in file("."))
fork := true