lanking520 commented on a change in pull request #13095: [MXNET-1041] Add Java
benchmark
URL: https://github.com/apache/incubator-mxnet/pull/13095#discussion_r231725573
##########
File path:
scala-package/infer/src/main/scala/org/apache/mxnet/infer/javaapi/ObjectDetector.scala
##########
@@ -113,6 +113,14 @@ object ObjectDetector {
org.apache.mxnet.infer.ImageClassifier.loadImageFromFile(inputImagePath)
}
+ def reshapeImage(img : BufferedImage, newWidth: Int, newHeight: Int):
BufferedImage = {
+ org.apache.mxnet.infer.ImageClassifier.reshapeImage(img, newWidth,
newHeight)
Review comment:
@andrewfayres I am expecting this:
https://github.com/apache/incubator-mxnet/blob/master/scala-package/core/src/main/scala/org/apache/mxnet/Image.scala
would eventually help and replace the current JavaIO we have.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services