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

PiSAR: Pipeline for Aerial Search and Rescue

License

NotificationsYou must be signed in to change notification settings

eadali/PiSAR

Repository files navigation

PiSAR Logo

PiSAR: Pipeline for Aerial Search and Rescue

AI-powered visual detection pipeline for aerial search operations

Demo GIF

Try PiSAR online:
PiSAR Space

Installation

Prerequisites

  • Python 3.12+
  • pip3 (Python package installer)
  • (Optional) CUDA-enabled GPU

Setup

  1. Clone the repository

    git clone https://github.com/eadali/PiSAR.gitcd PiSAR
  2. (Recommended) Create a virtual environment

    python3 -m venv pisarsource pisar/bin/activate
  3. Install dependencies

    • CPU only:
      pip3 install -r requirements.txt
    • GPU (CUDA) support:
      pip3 install -r requirements-cuda.txt
  4. Verify installation

    python3 -c"import torch; print(torch.cuda.is_available())"

Seerequirements.txt andrequirements-cuda.txt for details.


Usage

Running the Script

To process an image, video, or camera stream, use the following commands:

Process a video (CPU)

python3 demo.py config/yolo8n-bytetrack-cpu.yaml --onnx-path downloads/yolo8n-416.onnx --video downloads/forest.mp4

Process a video (CUDA/GPU)

python3 demo.py config/yolo8n-bytetrack-cuda.yaml --onnx-path downloads/yolo8n-416.onnx --video downloads/forest.mp4

Command-Line Arguments

ArgumentDescriptionRequired/Default
configPath to the YAML configuration fileRequired
--onnx-pathPath to the ONNX model fileRequired
--imagePath to the input image fileMutually exclusive with --video/--camid
--videoPath to the input video fileMutually exclusive with --image/--camid
--camidCamera ID for video captureMutually exclusive with --image/--video

Note:

  • You must provide exactly one of--image,--video, or--camid.
  • Theconfig argument is a positional argument (no--config).

Acknowledgements

Special thanks to theStephanST for providing the WALDO30 model used in this project.

Languages


[8]ページ先頭

©2009-2025 Movatter.jp