1. 程式人生 > 其它 >3D點雲標註工具---Semantic Segmentation Editor

3D點雲標註工具---Semantic Segmentation Editor

SSE(Semantic Segmentation Editor)是一個開源的點雲標註工具,程式碼地址:Hitachi-Automotive-And-Industry-Lab/semantic-segmentation-editor
這裡記錄一下安裝和使用過程,以及中間遇到的一些問題。

Tool Version
SSE 1.6.0
Meteor 1.12.0

一、安裝

1.1 windows10

1.1.1 安裝meteor
  • 首先安裝Chocolatey
    進入chocolatey官網https://chocolatey.org/install,滑動到最下方,選擇Take the installation course

    按鈕,然後在安裝方式處選擇install-using-powershell-from-cmd.exe,接著會彈出安裝教程,新建一個檔案install.cmd,然後用管理員許可權開啟PowerShell,執行install.cmd即可。

  • install.cmd

@echo off

SET DIR=%~dp0%

::download install.ps1
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "((new-object net.webclient).DownloadFile('https://community.chocolatey.org/install.ps1','%DIR%install.ps1'))"
::run installer
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& '%DIR%install.ps1' %*"

安裝完成後新建一個終端,檢視版本資訊,如果有顯示則安裝成功

  • 安裝Meteor
    直接執行以下命令進行安裝,安裝完成後執行meteor --version檢視版本資訊。
C:\WINDOWS\system32>choco install meteor
1.1.2 安裝SSE
  • 首先下載原始檔

Release中選擇相應版本,我下載的是1.6.0,將下載的zip檔案解壓。

  • 安裝
    進入解壓目錄,用管理員許可權開啟PowerShell,執行以下命令進行安裝
meteor npm install
  • 啟動
meteor npm start

預設埠是3000,啟動後瀏覽器打開出現如下介面,則安裝成功

1.2 Ubuntu18.04

  • 安裝Meteor
curl https://install.meteor.com/ | sh
  • 安裝SSE
meteor npm install
meteor npm start

二、使用

  • 圖片標註

  • pcd格式點雲標註

可參考點雲標註工具

三、常見問題

3.1 預設埠被佔用

有時候電腦3000埠會被佔用,則啟動的時候會丟擲錯誤,解決辦法是啟動的時候指定埠號,注意start後面需要接一個--才能加埠號,這是因為--後的引數才會轉化為npm的引數,見https://docs.npmjs.com/cli/v7/commands/npm-start
如:指定8888埠啟動

meteor npm start -- --port 8888

3.2 開啟pcd檔案介面是黑色的

有可能是pcd檔案格式造成的,同一個pcd檔案,我這邊ascii格式能開啟,但是binary不行。

3.3 介面上標籤無法更改

啟動前先修改settings.json檔案,在裡面輸入自己的標籤,然後再啟動