简体   繁体   English

Java库,用于查找图像中的对象并创建子图像

[英]Java library to find objects in image and create subimages

I have an image with a few items- a car, a person a tree and a mailbox. 我有一个带有几个项目的图像 - 汽车,树木和邮箱。 I want to cut the image around each item and create a sub-image of each. 我想剪切每个项目周围的图像并创建每个项目的子图像。 Now I would have one image with a car, one with a person and one with a mailbox. 现在我将有一个带汽车的图像,一个带有人,一个带有邮箱。 There may be an overlap of other objects, but the predominant feature in each would be the main object. 其他对象可能存在重叠,但每个对象的主要特征是主要对象。

What library is there that can do this, or at least what technologies that I could merge to do this? 哪些库可以做到这一点,或者至少我可以合并的技术是什么?

Thanks. 谢谢。

You could check OpenCV or javacv library for detecting object in the image. 您可以检查OpenCVjavacv库以检测图像中的对象。 It might be possible to process image in real-time or offline 可以实时或离线处理图像

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM