annt:用于对象检测任务的简单注释工具。

annt的Python项目详细描述


安妮

用于对象检测任务的简单注释文件加载程序。在

说明

到目前为止,已经为目标检测任务开发了各种工具。 但是,在注释工具和格式以及 开发人员仍然编写自己的json或xml注释文件解析器。 annt是一种注释工具,它以云服务的形式运行,如dropbox。 annt不仅提供了简单舒适的注释体验,而且还提供了强大的库来加载注释图像。在

这是python库,可以读取用annt注释的图像。 您可以用一种简单的方式加载带注释的图像,并专注于基本的人工智能开发。 另外,这个库有一个基本的预处理函数。这样就可以节省编写额外代码的时间。在

用法和示例

例1。加载带注释的图像

importannt# annotations is list of annotation dataannotations=annt.load('~/Dropbox/app/project_name')# Display ths information of each annotation file.forainannotations:image=a.image# opencv2 image arrayboxes=a.boxes# list of bounding boxesheight,width,colors=image.shape# you canforboxinboxes:# Tag information (str)print(f'~ tag name : box.tag ~')# You can get coordination information of the box by two methods,# Left Top Style and Edge Style.# Coordination information based on left top of the box. (Left-Top Style)print(f'x : {box.x}')print(f'y : {box.y}')print(f'w : {box.w}')print(f'h : {box.h}')# Coordination information based on the distance from each edge of the image. (Edge Style)print(f'left : {box.left}')print(f'right : {box.right}')print(f'top : {box.top}')print(f'bottom : {box.bottom}')# If you change these coordination properties, all of them will recomputed.box.w=300# This operation will also change box.right property.

例2。数据预测

^{pr2}$

入门

  1. 注册annt并注释imae。在
  2. 从pip安装这个库。在
  3. 开发你自己的项目。在

安装

你可以从pip安装。在

pip install annt

文件

http://doc.annt.ai/

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
构造函数的java条件调用   类Dog中的java构造函数Dog不能应用于给定类型   java jsch和运行“sudo su”   java将队列和堆栈相互复制   java如何在netbeans项目的文件夹中添加库   java While循环在我的代码中不存在   如何在XML中使用java方法的返回值   java是否可以在不写入文件的情况下将字符串/字节数组作为文件发布?   java为什么这些字符串不相等?   sockets客户机-服务器java编程,用户可选择   java如何在SpringMVC和hibernate中保存模型返回视图的列表   java如何修复组织。openqa。硒。WebDriverException:未知错误   Java,Ant错误:编码Cp1252的不可映射字符   JAVAlang.ClassCastException:[Ljava.lang.String;与java.lang.String不兼容   java如何使用JDK8(可选)为空字段创建自定义IntelliJ getter模板   java Tomcat6响应。sendRedirect()404错误