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第三方库


热门话题
尝试运行JFLAP。戴软呢帽的罐子23。Java正在抛出异常   无引用的java数组布尔复制   hibernate如何在java SE应用程序中使用JPA EntityManager   java如何使用ORMLite在SQLite中持久化JavaFX属性?   java无法将项目部署到GAE   java:谷歌地图维基百科层   java Resultset(getter/setter类)对象在第二次执行时未删除旧值   s中的java struts2:选择列表>请求的列表键“”作为集合/数组/映射/枚举/迭代器类型   java如何在Karaf 4.0.5中获得BaseDao中的entityManager?   java VSCode未从控制台读取西里尔文   java字体。createFromAsset()返回字体的空指针异常   java错误:将Android Studio从0.6.1更新到0.8.9后,没有合适的构造函数