Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use labelImg to annotate an image in windows

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Windows how to use labelImg to mark images, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can get something.

1. Download labelImg tools:

Download address: link: https://pan.baidu.com/s/1ZVRpMIbkN2HryCtwfOvdMw extraction code: 6666

The downloaded file is a compiled, executable labelImg.exe file. Directly put the file in the windows environment, double-click to execute.

2. How to use labelImg tools:

1. Double-click the labelImg execution file icon, and the operation interface will appear:

The appearance of such a window interface indicates that labelImg has been opened normally, and the window with a black background is the terminal interface, ignore it.

On the left side of the labelImg window, there are some operational functions, among which: "Open" opens a single image, "Open Dir" opens a folder, and "Change Save Dir"

The path where the image is saved, "Next Image" switches to the next image, "Prev Image" switches to the previous image, "Verify Image" check image, "Save"

Save the image, one "Create RectBox" label box, "Duplicate RectBox" repeat label box, "Delete RectBox" delete callout box, "Zoom In"

Enlarge the image, "Zoom Out" reduces the image, "Fit Window" image applies to the window, and "Fit Width" image adapts to the width.

Of course, it is not very convenient to use the operation button, here are some fast shortcut keys to save some time for boring labeling work.

Hotkeys:

Ctrl + Q exit software ctrl +-reduce ctrl + oopenfilectrl + = original size ctrl + uopenDirctrl + Ffitwindowctrl + rChangeSaveDirctrl + E Edit tag ctrl + s Save ctrl + shift + o Open folder shows only .xml file ctrl + LboxlineColorctrl + shift + sctrl + Jmove and edit Boxesctrl + FfitWidthctrl + D copy box dnextImgctrl + H hides all boxes apreImgctrl + A shows all boxes space marks the current picture is marked ctrl + + enlarges w frame Delete delete box

3. Start tagging image data:

Order of general operations: "open file"-"create rectbox" >

Finally, the .xml file is generated under the path where the file is saved. The name of the .xml file is the same as the name of the marked photo. If you want to modify it, it has already been marked.

The information in the .xml will also change accordingly. The format used by xml and PASCAL VOC is the same!

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report