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

update origami version for module:scripting #119

Closed hellonico closed 7 months ago

hellonico commented 7 months ago
diff --git a/average.clj b/average.clj
index 0650840..ab846b4 100755
--- a/average.clj
+++ b/average.clj
@@ -1,6 +1,6 @@
 #!/usr/bin/env inlein

-'{:dependencies [[org.clojure/clojure "1.8.0"][origami/origami "4.7.0-18"]]}
+'{:dependencies [[org.clojure/clojure "1.8.0"][origami/origami "4.9.0-0-SNAPSHOT"]]}

 (require '[opencv4.core :refer :all])
 (require '[opencv4.utils :as u])
diff --git a/cam_and_filters.clj b/cam_and_filters.clj
index a22087e..380336b 100755
--- a/cam_and_filters.clj
+++ b/cam_and_filters.clj
@@ -2,7 +2,7 @@

 '{:dependencies [
   [org.clojure/clojure "1.10.0"]
-  [origami/origami "4.7.0-18"]
+  [origami/origami "4.9.0-0-SNAPSHOT"]
   [origami/filters "1.42"]]}

 (ns opencv4.webcam
@@ -13,10 +13,10 @@
     (let [fi (.newInstance klass)]
       (fn [mat] (.apply fi mat))))

-; (def f 
-;   (java-filter origami.filters.Cartoon))
 (def f 
-  (java-filter origami.filters.SunGlasses$Red))
+  (java-filter origami.filters.cartoon.Cartoon))
+; (def f 
+;   (java-filter origami.filters.NoOPFilter))

 (u/simple-cam-window 
     (comp (java-filter origami.filters.FPS) f ))