You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/06/02 19:02:26 UTC

[GitHub] [incubator-mxnet] Chouffe commented on a change in pull request #15121: [clojure] clojurify function names in image.clj namespace

Chouffe commented on a change in pull request #15121: [clojure] clojurify function names in image.clj namespace
URL: https://github.com/apache/incubator-mxnet/pull/15121#discussion_r289654061
 
 

 ##########
 File path: contrib/clojure-package/src/org/apache/clojure_mxnet/image.clj
 ##########
 @@ -60,14 +63,38 @@
   ([input-stream]
    (decode-image input-stream {})))
 
+(defn decode
+  "Decodes an image from an input stream with OpenCV.
+    `input-stream`: `InputStream` - Contains the binary encoded image
+    `color-flag`: 0 or 1 - Convert decoded image to grayscale (0) or color (1)
 
 Review comment:
   Very good point! Let me fix this then.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services