开发者

How to identify symbols in a image

开发者 https://www.devze.com 2023-02-21 12:10 出处:网络
I have a image which contains GUI components such as Button, Label, ComboBox, CheckBox etc. I want to write a Java program to process this image and identify each components and their positions, heigh

I have a image which contains GUI components such as Button, Label, ComboBox, CheckBox etc. I want to write a Java program to process this image and identify each components and their positions, height and width. Is it possible? If possible, how should I do?

Thanks;开发者_C百科

Kapila


You may use an Image Correlation.

Here you have an example in Mathematica:

How to identify symbols in a image

The same for Combos:

How to identify symbols in a image


yes it is possible. It more then can be covered in a simple response, but my suggestion would be to use an algorithm that does edge detection then define what you're looking for.


I would suggest looking at javacv, the java binding for opencv.

0

精彩评论

暂无评论...
验证码 换一张
取 消