Hadoop:生成 SequenceFile 的示例过程,其中包含要在 map/reduce 中处理的图像二进制文件

发布于 2024-12-24 22:42:26 字数 411 浏览 5 评论 0原文

以下 Hadoop:如何访问(许多)照片图像要通过map/reduce处理?问题,其中orangeoctopus提供了加载图像二进制文件并将其收集到 SequenceFiles 中以提供给映射器的合理方向。

认为这对其他人也很有用,作为本地 java 进程或者可能是一个 hadoop 作业(如果有大量图像文件),我创建了这个单独的问题来寻找实现的示例。

谢谢!

Following Hadoop: how to access (many) photo images to be processed by map/reduce? question, where orangeoctopus provides a reasonable direction to load the image binaries and collect them into SequenceFiles to feed the mapper.

Think this could be useful for the others also, as a local java process or probably a hadoop job in case of vast amount image files, I created this separate question to look for the example for the implementation.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

掩饰不了的爱 2024-12-31 22:42:26

Hadoop:权威指南 - 第 4 章提供了一些读取/写入序列文件的示例。这是相同的代码。浏览代码并将其更改为二进制图像作为序列文件的输入。

Hadoop: The Definitive Guide - Chapter 4 has some samples for reading/writing sequence files. Here is the code for the same. Go through the code and change it for the binary images as input for the sequence file.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文