opencv_dnn:samples:segmentation

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
opencv_dnn:segmentation [2018/09/29 17:58] – [動かしてみよう] babaopencv_dnn:samples:segmentation [2019/07/30 09:54] (現在) – ↷ opencv_dnn:segmentation から opencv_dnn:samples:segmentation へページを移動しました。 baba
行 1: 行 1:
 +{{indexmenu_n>6}}
 ====== Semantic Segmentation ====== ====== Semantic Segmentation ======
 ここではOpenCVに実装された,領域分割(Semantic Segmentation)に関して使い方を解説します. ここではOpenCVに実装された,領域分割(Semantic Segmentation)に関して使い方を解説します.
行 5: 行 6:
 という問は変わりませんが,これがより詳細になり,「どのあたりになにがあるか?」までがわかるように という問は変わりませんが,これがより詳細になり,「どのあたりになにがあるか?」までがわかるように
 なります. なります.
 +  * このSegmentationをoFのaddonとしてまとめたものをgithubにおいています。 
 +    * https://github.com/TetsuakiBaba/ofxOpenCvDnnSegmentation
 {{:opencv_dnn:20180227180905.png?400|}} {{:opencv_dnn:20180227180905.png?400|}}
 https://wiki.tum.de/display/lfdv/Image+Semantic+Segmentation https://wiki.tum.de/display/lfdv/Image+Semantic+Segmentation
行 19: 行 21:
   * {{ :opencv_dnn:fcn32s-heavy-pascal.prototxt |}}   * {{ :opencv_dnn:fcn32s-heavy-pascal.prototxt |}}
   * {{ :opencv_dnn:pascal-classes.txt |}}   * {{ :opencv_dnn:pascal-classes.txt |}}
 +
 +
   $ ./example_dnn_segmentation --classes=pascal-classes.txt  --config=fcn8s-heavy-pascal.prototxt  --model=fcn8s-heavy-pascal.caffemodel  --width=500 --height=500 --rgb  --mean=1   $ ./example_dnn_segmentation --classes=pascal-classes.txt  --config=fcn8s-heavy-pascal.prototxt  --model=fcn8s-heavy-pascal.caffemodel  --width=500 --height=500 --rgb  --mean=1
  
 ===== Enet ===== ===== Enet =====
-高速で動作可能な領域分割です.+高速で動作可能な領域分割です.https://www.pyimagesearch.com/2018/09/03/semantic-segmentation-with-opencv-and-deep-learning/ も参考にすると良いでしょう
   * {{ :opencv_dnn:categories.txt |}}   * {{ :opencv_dnn:categories.txt |}}
   * {{ :opencv_dnn:enet-model-best.net |}}   * {{ :opencv_dnn:enet-model-best.net |}}
-  $ ./example_dnn_segmentation --classes=categories.txt --model=Enet-model-best.net  --width=1024 --height=512 --rgb --mean=1 + 
 + 
 +  $ ./example_dnn_segmentation enet --zoo=../../dnn/models.yml --classes=categories.txt --model=Enet-model-best.net  --width=1024 --height=512 --rgb --mean=1  
 +   
 +Enetを学習させるには下記のEnet作者による github ページを参照しましょう。 
 +  * https://github.com/TimoSaemann/ENet/tree/master/Tutorial 
 + 
 +  * Reference 
 +    * http://atkg.hatenablog.com/entry/2018/12/10/215224
  • /home/users/2/lolipop.jp-4404d470cd64c603/web/ws/data/attic/opencv_dnn/samples/segmentation.1538211493.txt.gz
  • 最終更新: 2018/09/29 17:58
  • by baba