精選作品,第一時間送達
簡介:
Semantic-Segmentation-Editor是由日立汽車工業實驗室(Hitachi Automotive And Industry Lab)開源的基於Web的語義對象標註編輯器(Semantic Segmentation Editor),該工具專門用於創建機器學習語義分割的訓練數據,為自動駕駛研究開發的,但也可以用於標註其他類型的語義目標資料庫。它不僅支持普通相機拍攝的2D圖像(.jpg和.png文件)還支持LIDAR生成的3D點雲(.pcd文件)中目標的標註。它是使用React, Paper.js和three.js開發的Meteor應用程式。
申明:點雲語義標註工具Semantic-Segmentation-Editor 官方網址——>(https://github.com/Hitachi-Automotive-And-Industry-Lab/semantic-segmentation-editor),經過幾天的折騰終於在win10系統和Ubuntu1604系統環境下安裝調試成功,最大問題在於使用官方提供的安裝命令在下載所需要的安裝包的時候下載很慢,無奈只能找其他快速方法,現在將我自己的安裝過程記錄如下,希望能夠幫到同樣也需要的人,大家一起相互交流學習。如果在安裝過程中仍然不能夠順利下載所需的安裝包,可以在公眾號後臺回復【分割標註】獲取下載連結,進行下載。
1、安裝nodejs
從下面網址點擊紅色框下載nodejs 如下圖所示
https://nodejs.org/en/download/
下載結束之後雙擊安裝包按照提示一步一步進行安裝。
使用下面命令在cmd窗口進行Chocolatey(https://chocolatey.org/docs/installation)安裝 (注意:這裡使用管理員打開cmd命令窗口)
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"3、使用瀏覽器或者迅雷打開下面網址下載meteor安裝包
https://packages.meteor.com/bootstrap-link?arch=os.windows.x86_64
4、下載好之後需要把步驟2的安裝包放入以下路徑中(your_user_name需要替換成你自己用戶名)
C:\Users\your_user_name\AppData\Local\Temp\chocolatey\meteor\0.0.2
靜靜的等待安裝即可,出現如下提示,說明安裝完成。
***************************************Meteor has been installed!To get started fast: $ meteor create ~/my_cool_app $ cd ~/my_cool_app $ meteorOr see the docs at: https://docs.meteor.com***************************************
6、下載所需要的版本並進行解壓縮(https://github.com/Hitachi-Automotive-And-Industry-Lab/semantic-segmentation-editor/releases)
7、在cmd命令窗口執行 以下命令進行應用啟動
cd semantic-segmentation-editor-x.x.xmeteor npm installmeteor npm start
出現下面提示說明啟動成功
8、你需要把所要標註的 圖片或者.pcd點雲文件放在下面的目錄下
9、在瀏覽器打開下面網址就可以開始使用了
10、瀏覽器打開網址之後可以選擇一個文件進行雙擊即可開始標註了,如下圖所示
Ubuntu1604的Semantic-Segmentation-Editor官方安裝過程
1、使用下面命令進行安裝meteor(連結:https://github.com/Hitachi-Automotive-And-Industry-Lab/semantic-segmentation-editor)
curl https://install.meteor.com/ | sh
2、下載所需要的版本並進行解壓縮(連結:https://github.com/Hitachi-Automotive-And-Industry-Lab/semantic-segmentation-editor/releases)
3、在終端使用以下命令進行應用啟動(當然你也可以選擇自己的版本)
cd semantic-segmentation-editor-1.5.0meteor npm installmeteor npm start
4、在瀏覽器打開下面網址就可以開始使用了
5、打開之後,會出現示例圖片以及示例點雲文件,雙擊打開一個文件即可,打開的點雲文件如下圖所示
Ubuntu1604的非官方Semantic-Segmentation-Editor安裝過程
說明:由於使用官方安裝過程在下載相關安裝包的時候網速很慢,導致總是超時或者失敗,所以尋找快速安裝過程。
1、手動下載需要的安裝包,直接點擊下面連結使用瀏覽器下載,正常的話會很快:
https://static-meteor.netdna-ssl.com/packages-bootstrap/1.10.2/meteor-bootstrap-os.linux.x86_64.tar.gz
2、獲取官方安裝腳本
curl https://install.meteor.com > install.meteor.sh
3、使用下面打開上一步獲取到的腳本文件
sudo gedit install.meteor.sh
4、在腳本中使用查找命令找到『TARBALL_URL』關鍵字,找到如下圖所示的連結
5、講上一步找到的連結改成在第一部中下載好的安裝包的本地連接,保存並退出
TARBALL_URL="file:///home/hqss/Downloads/meteor-bootstrap-os.linux.x86_64.tar.gz"
6、運行腳本進行安裝
7、安裝好之後會出現下面的提示
Meteor 1.10.2 has been installed in your home directory (~/.meteor).Writing a launcher script to /usr/local/bin/meteor for your convenience.This may prompt for your password.[sudo] password for hqss: To get started fast: $ meteor create ~/my_cool_app $ cd ~/my_cool_app $ meteor Or see the docs at: docs.meteor.com Deploy and host your app with Galaxy: www.meteor.com/hosting8、然後在進行步驟二中的第2、3、4、5步驟進行安裝運行。至此Ubuntu下的Semantic-Segmentation-Editor(語義分割標註軟體安裝完成)
附錄:
[1]圖片語義分割標註使用方法視頻方法教程 https://vimeo.com/282003466[2]點雲語義分割標註使用方法視頻方法教程https://vimeo.com/282222626[3]Semantic Segmentation Editor https://github.com/Hitachi-Automotive-And-Industry-Lab/semantic-segmentation-editor[4]點雲語義分割標註工具-semantic-segmentation-editor https://blog.csdn.net/qq_43049432/article/details/99314008[5]meteor下載太慢!3步教你搞定meteor下載和安裝。https://blog.csdn.net/zhujuyu/article/details/79217960
掃描上方微信號,進入學習群。
目標檢測、圖像分割、自動駕駛、機器人、面試經驗。
福利滿滿,名額已不多…