Marine Acoustic Classification API - CPU-optimized marine sound classification
Project description
MarACO - Marine Acoustic Classification API
A Python package for marine acoustic sound classification optimized for CPU usage with balanced speed and accuracy.
Features
- Fast Classification: <200ms per 5-second audio clip on CPU
- High Accuracy: >90% accuracy on marine acoustic sounds
- Noise Reduction: Built-in noise reduction and audio preprocessing
- Multiple Classes: Fin Whale, Humpback Whale, Right Whale, Sonar, Vessels, Explosions, Physical Noise
- Easy Integration: Simple API for quick integration into your projects
- CPU Optimized: Designed specifically for CPU-only environments
Installation
pip install maraco-api
Quick Start
from maraco import MarineAcousticClassifier
# Initialize classifier
classifier = MarineAcousticClassifier()
# Classify a single audio file
result = classifier.predict("audio_file.wav")
print(f"Class: {result['class']}, Confidence: {result['confidence']:.2f}")
# Batch processing
results = classifier.predict_batch(["file1.wav", "file2.wav"])
for result in results:
print(f"File: {result['filename']}, Class: {result['class']}")
Supported Audio Formats
- WAV, AIFF, MP3, FLAC
- Sample rates: 600Hz - 48kHz (automatically resampled)
- Duration: 1-30 seconds (optimal: 2-5 seconds)
Performance
- Processing Speed: <200ms per clip
- Memory Usage: <500MB RAM
- Model Size: <50MB
- Accuracy: >90% on test data
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
maraco_api-0.1.0.tar.gz
(32.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maraco_api-0.1.0.tar.gz.
File metadata
- Download URL: maraco_api-0.1.0.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adeea9ebe0326c20ea7d07e654f05312ad09492c1378ce1ffb27f5bf8a6fec20
|
|
| MD5 |
7e3e41f54766573e517533c27d261203
|
|
| BLAKE2b-256 |
c5fdb2ea0fe7fa70c47833061cba89934cc0c19407932f46ac61b735114c3b4f
|
File details
Details for the file maraco_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: maraco_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6130a9d885db05da64f940d2e37a11b2cbbeaea22d252c0b6d571b7cc64e35e0
|
|
| MD5 |
8b0b7760d66aeda1cce67e63a9ba7a57
|
|
| BLAKE2b-256 |
8bff39f3b0dec8e8e532955ec34d5b9486aa89c15e7787953e4cca5d98f64696
|