Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python scripts performing on devive semantic segmentation using the TopFormer model in depthai.

License

NotificationsYou must be signed in to change notification settings

ibaiGorordo/depthai-TopFormer-Semantic-Segmentation

Repository files navigation

Python scripts performing on devive semantic segmentation (ADE20K 150 classes)using the TopFormer model in depthai.

!TopFormer Semantic SegmentationTaken from:https://youtu.be/fzZEylhZTbI

Requirements

  • Check therequirements.txt file.
  • Additionally,pafy andyoutube-dl are required for youtube video inference.

Installation

git clone https://github.com/ibaiGorordo/depthai-TopFormer-Semantic-Segmentation.gitcd depthai-TopFormer-Semantic-Segmentationpip install -r requirements.txt

For youtube video inference

pip install youtube_dlpip install git+https://github.com/zizo-pro/pafy@b8976f22c19e4ab5515cacbfae0a3970370c102b

MyriadX models

The original Pytorch models were converted to MyriadX blob using the Google Colab notebook below. You can download the converted models fromGoogle Drive and save them into themodes folder.

ONNX Inference

The model can also run in ONNX using the scripts inthis repository.

Pytorch model

The original Pytorch model can be found in this repository:https://github.com/hustvl/TopFormer

Examples

  • Depthai Semantic Segmentation using the camera in the board (~20 fps for small model):
python main.py
python main_video.py

!CREStereo depth estimation Depthai

Original video:https://youtu.be/fzZEylhZTbI

References:

About

Python scripts performing on devive semantic segmentation using the TopFormer model in depthai.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp