Giter Site home page Giter Site logo

hellolixy / ailabel-me Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fuyi501/ailabel-me

0.0 0.0 0.0 35.13 MB

图像标注软件,可以标注车道线,区域等各种交通设施,配置智能交通检测事件,设置车道的方向和区域的检测事件,应用于智慧交通融合感知系统。

Home Page: http://fuwenwei501.gitee.io/ailabel-me

License: Apache License 2.0

Shell 0.44% JavaScript 47.32% HTML 0.39% Vue 47.13% Dockerfile 0.06% SCSS 4.66%

ailabel-me's Introduction

图像标注系统

AILabel vue element-ui license

本项目基于 vue-admin-templateAILabel 设计,可以标注车道线,区域等各种交通区域设施,用于配置智慧交通检测事件,设置车道的方向和区域的检测事件,应用于智慧交通融合感知系统。

安装

# 克隆项目
# github
git clone https://github.com/fuyi501/ailabel-me.git

# gitee
git clone https://gitee.com/fuwenwei501/ailabel-me.git

# 进入项目目录
cd ailabel-me

# 安装依赖
npm install

# 启动项目
npm run serve

# 编译项目
npm run build

功能

  • 矩形标注
  • 多边形标注
  • 车道线设置
  • 区域设置
  • 交通异常事件配置
  • 道路设置
  • 监控设置

效果展示

部署

GitHub Pages

GitHub Pages 部署请看:https://cli.vuejs.org/zh/guide/deployment.html#github-pages

部署的时候需要注意 publicPath 的配置:

  publicPath: process.env.NODE_ENV === 'production' ? '/ailabel-me/' : '/',
  // publicPath: '/',

运行 sh deploy.sh 进行部署

Docker (Nginx)

1、安装 Docker

2、编译项目文件

npm run build

3、使用 nginx 镜像构建 vue 应用镜像

docker pull nginx

4、创建 nginx 配置文件

在项目根目录下创建 nginx 文件夹,该文件夹下新建文件 default.conf

server {
    listen       80;
    server_name  localhost;

    #charset koi8-r;
    access_log  /var/log/nginx/host.access.log  main;
    error_log  /var/log/nginx/error.log  error;

    location / {
        root   /usr/share/nginx/html;
        index  index.html index.htm;
    }

    #error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }
}

该配置文件定义了首页的指向为 /usr/share/nginx/html/index.html, 所以我们可以一会把构建出来的 index.html 文件和相关的静态资源放到 /usr/share/nginx/html 目录下。

5、创建 Dockerfile 文件

FROM nginx
COPY dist/ /usr/share/nginx/html/
COPY nginx/default.conf /etc/nginx/conf.d/default.conf

6、基于该 Dockerfile 构建应用镜像

# 注意不要少了最后的 “.”
# -t 是给镜像命名 . 是基于当前目录的 Dockerfile 来构建镜像
docker build -t ailabel-me .

7、运行应用镜像

docker run -d -p 8088:80 --name=ailabel-me ailabel-me

相关信息

本项目基于 AILabel 设计,AILabel 类库是一款集打点、线段、多段线、矩形、多边形、圆圈、涂抹等多标注形式于一体,附加文本(Text)、标记(Marker)、缩略图(EagleMap)、Scale(比例尺)等控件以及 Util 等辅助工具的在线 Web 端标注工具库。

浏览器支持

Modern browsers and Internet Explorer 10+.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions

License

Apache

ailabel-me's People

Contributors

fuyi501 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.