zachgk commented on a change in pull request #14474: [MXNET-1285] Draw bounding box with Scala/Java Image API URL: https://github.com/apache/incubator-mxnet/pull/14474#discussion_r267149993
########## File path: scala-package/core/src/main/scala/org/apache/mxnet/Image.scala ########## @@ -182,4 +183,58 @@ object Image { img } + /** + * Helper function to generate ramdom colors + * @param transparency The transparency level + * @return Color + */ + private def randomColor(transparency: Float) : Color = { Review comment: We should set no transparency as the default ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services