hellonico / origami

Lowest barrier of entry to Image Processing, Computer Vision and Neural Networks on the JavaVM
https://hellonico.github.io/origami-docs/#/
Eclipse Public License 1.0
122 stars 7 forks source link

Fix me (video loading) #90

Closed hellonico closed 1 year ago

hellonico commented 1 year ago
Exception in thread "main" Syntax error compiling at (/private/var/folders/dm/x0wmsx393k37m2n7v6xczm0r0000gp/T/form-init7730944331620174324.clj:1:125).
    at clojure.lang.Compiler.load(Compiler.java:7647)
    at clojure.lang.Compiler.loadFile(Compiler.java:7573)
    at clojure.main$load_script.invokeStatic(main.clj:452)
    at clojure.main$init_opt.invokeStatic(main.clj:454)
    at clojure.main$init_opt.invoke(main.clj:454)
    at clojure.main$initialize.invokeStatic(main.clj:485)
    at clojure.main$null_opt.invokeStatic(main.clj:519)
    at clojure.main$null_opt.invoke(main.clj:516)
    at clojure.main$main.invokeStatic(main.clj:598)
    at clojure.main$main.doInvoke(main.clj:561)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at clojure.lang.Var.applyTo(Var.java:705)
    at clojure.main.main(main.java:37)
Caused by: java.lang.ClassCastException: class clojure.lang.PersistentArrayMap cannot be cast to class java.lang.String (clojure.lang.PersistentArrayMap is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap')
    at clojure.core$read_string.invokeStatic(core.clj:3805)
    at clojure.core$read_string.invoke(core.clj:3805)
    at opencv4.video$capture_device.invokeStatic(video.clj:20)
    at opencv4.video$capture_device.invoke(video.clj:15)
    at opencv4.utils$simple_cam_window.invokeStatic(utils.clj:352)
    at opencv4.utils$simple_cam_window.invoke(utils.clj:346)
    at opencv4.utils$simple_cam_window.invokeStatic(utils.clj:348)
    at opencv4.utils$simple_cam_window.invoke(utils.clj:346)
    at origami_dnn.demo.ssdnet.cam$_main.invokeStatic(cam.clj:10)
    at origami_dnn.demo.ssdnet.cam$_main.doInvoke(cam.clj:8)
    at clojure.lang.RestFn.invoke(RestFn.java:397)
    at clojure.lang.Var.invoke(Var.java:380)
    at user$eval140.invokeStatic(form-init7730944331620174324.clj:1)
    at user$eval140.invoke(form-init7730944331620174324.clj:1)
    at clojure.lang.Compiler.eval(Compiler.java:7176)
    at clojure.lang.Compiler.eval(Compiler.java:7166)
    at clojure.lang.Compiler.load(Compiler.java:7635)
    ... 12 more