# TextLabelTool **Repository Path**: kidcad/TextLabelTool ## Basic Information - **Project Name**: TextLabelTool - **Description**: 标注工具 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-07-15 - **Last Updated**: 2021-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 用法 1. 在图片上面 ## 数据提取 被标注的目录下面会有个`label.sqllite3`文件,读取label表即可获取到物体的四点坐标 ## 打包成exe文件 - 文件版本信息文件模板获取, 打开powershell然后输入如下命令获取记事本程序的版本信息文件,修改相关信息即可 ``` (py36) C:\Users\logan>pyi-grab_version C:\Windows\system32\notepad.exe ``` - 运行打包命令指定图标和版本信息文件. ``` pyinstaller --onefile --windowed --icon=main.ico -n "四边形物体标注工具" --version-file=file_version_info.txt --clean main.py ``` ## 截图 - 直接使用鼠标左键画框,然后输入相应的文字 ![](screenshots/1.png) - 也可以对所画框进行微调,用于标注透视变形后的文字 ![](screenshots/2.png)