Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Add Img2vector tools#2744

Merged
yzhliu merged 7 commits intoapache:masterfrom
liyuance:Img2Vector
Jul 26, 2016
Merged

Add Img2vector tools#2744
yzhliu merged 7 commits intoapache:masterfrom
liyuance:Img2Vector

Conversation

@liyuance
Copy link
Contributor

@liyuance liyuance commented Jul 17, 2016

Img2Vector tools could convert imgae directory into Vectorized RDD,for example:
Images stored in hdfs://namenode:9000/user/xxx/images/
scala> import ml.dmlc.mxnet.spark.utils.Img2Vector
scala> val sc = new SparkContext(conf)
scala> val imagesRDD = Img2Vector.getRGBArray(sc, "hdfs://namenode:9000/user/xxx/images/")

@liyuance liyuance changed the title Img2 vector Add Img2vector tools Jul 17, 2016
@yzhliu
Copy link
Member

yzhliu commented Jul 18, 2016

There exists some scala code style check failure. Please refer to the travis-ci for more information.

And could you make the description you wrote here as a brief javadoc for Img2Vector.getRGBArray?

Thank you!

@yzhliu yzhliu merged commit 95ef531 into apache:master Jul 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants