GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - e04/deepcw-engine

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
examples
examples
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
model.onnx
model.onnx
 
 
model.onnx.json
model.onnx.json
 
 
model_narrow.onnx
model_narrow.onnx
 
 
model_narrow.onnx.json
model_narrow.onnx.json
 
 

Repository files navigation

deepcw-engine

This repository contains the DeepCW model and a minimal example.

model_narrow.onnx is a faster, narrow-band model for multi-channel decoding. Use it with --model ../../model_narrow.onnx --metadata ../../model_narrow.onnx.json.

Preparing WAV Audio

The examples can read and resample ordinary PCM WAV files, but preparing the audio with ffmpeg makes the input explicit and repeatable:

ffmpeg -i input.wav -ac 1 -ar 3200 -sample_fmt s16 target.wav

The sample rate shown above matches the current model.onnx.json. If the metadata changes, use the sample_rate value from that file.

Python Example

Directory: examples/python

Install dependencies:

cd examples/python
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt

Run the decoder:

python decode_morse.py \
  --model ../../model.onnx \
  --metadata ../../model.onnx.json \
  --wav test.wav

Node.js Example

Directory: examples/nodejs

Install dependencies:

cd examples/nodejs
npm install

Run the decoder:

npm run decode -- \
  --model ../../model.onnx \
  --metadata ../../model.onnx.json \
  --wav test.wav

License

MIT. See LICENSE.

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

32 stars

Watchers

1 watching

Forks

9 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.