Abnormal Swimming Posture Detection in Fish Skill: Quantifying Lateral and Inverted Swimming Duration via a Fixed Camera

Foreword

In home aquariums or display tanks, swim bladder disorders, poisoning, or nervous system issues often manifest first in swimming posture: side-swimming, upside-down swimming, or continuous spinning around the body axis. It is difficult to continuously record these with the naked eye in front of a tank, nor can one clearly state “how long the abnormality lasted.” Below is an introduction to the Skill “Fish Abnormal Swimming Posture (Side-swim / Upside-down) Detection” from the SkillHub community. It targets videos captured by fixed cameras in fish tanks, marks them based on the angle of the body axis relative to the horizontal plane and several typical abnormal shapes, and summarizes the proportion of abnormal duration, facilitating intervention by comparing with daily health reports.

What is this

This Skill is positioned as a data-analysis capability: it analyzes fish swimming videos under continuous observation, outputs whether it is abnormal and the proportion of abnormal time, and supports generating a daily swimming posture health report. The maintainer and publisher is community user user_bb47e3e3, current version 1.0.0, source labeled as community. The SkillHub coordinate is @user_bb47e3e3/fish-abnormal-swimming-posture-detection-analysis; see the end of the article for the page address. The tag requires_api_key=false indicates that no separate API Key configuration is required based on the SkillHub registration information.

Core Features

The capabilities explicitly stated in the official introduction are as follows, all based on the officially scraped SkillHub copy.

  1. Body Axis and Horizontal Plane Angle: Analyze the fish in the video, calculate the angle between the fish body axis and the horizontal plane; the body axis of a normal individual should be close to horizontal.

  2. Abnormal Judgment Rules (including default thresholds):

    • Body axis tilt exceeding the threshold (default > 30°) is recorded as abnormal;
    • Upside-down: Head pointing downwards exceeding 45°;
    • Spinning: Continuous flipping around the fish body’s longitudinal axis.
  3. Duration Quantification: Mark the periods judged as abnormal and record the proportion of abnormal duration to the total observation time.

  4. Continuous Monitoring and Reporting: The system is designed for long-running scenarios, capable of continuous monitoring and generating a daily swimming posture health report.

  5. Health Scenario Association (Explanatory, not diagnostic conclusions): The document notes that abnormal swimming postures are common in swim bladder disorders, nervous system diseases, water quality poisoning, infections, etc. The purpose is to prompt enthusiasts to change water, administer medication, or intervene early, rather than replacing a veterinarian or water quality testing.

Installation and Enablement

There is currently no copy of SKILL.md distributed with the Skill in the current task directory, nor have the official scraping results provided installation commands for specific platforms like Cursor, Codex CLI, or Claude Code. If installing via SkillHub, please refer to the Skill package instructions on the platform. The following information can be used directly for search and version verification:

Name: Fish Abnormal Swimming Posture (Side-swim / Upside-down) Detection
Coordinate: @user_bb47e3e3/fish-abnormal-swimming-posture-detection-analysis
Version: 1.0.0
Category: data-analysis
requires_api_key: false
SkillHub Page: https://www.skillhub.cn/skills/user_bb47e3e3/fish-abnormal-swimming-posture-detection-analysis
API Endpoint: https://api.skillhub.cn/user_bb47e3e3/fish-abnormal-swimming-posture-detection-analysis

After installation is complete, enable it in the corresponding Agent environment according to the general SKILL.md format instructions in the Skill package; specific trigger words, input/output fields must be based on the content of the 1.0.0 package you downloaded.

Typical Usage

The collected materials do not include CLI examples, configuration file snippets, or example video paths that can be reproduced individually. From the functional description, the only conceptual step in the workflow is: Fixed camera aimed at the fish tank → Provide swimming video or connect to a continuous stream → Skill calculates the angle and applies default thresholds (30° / Upside-down 45° / Longitudinal axis rotation) → Read abnormal proportion and daily report. Implementation details (frame rate, single fish vs. multiple fish, whether thresholds can be overridden) should not be guessed before verifying official supplementary documents.

Applicable Scenarios and Notes

Applicable Scenarios (all from official introduction): Home aquariums, public aquariums, ornamental fish farms; it can also serve as a component of smart aquariums or aquarium camera functions to provide early reminders to enthusiasts.

Usage Notes:

  • Detection relies on fixed camera positioning and a recognizable fish body axis. Lighting, reflections, and occlusions directly affect angle estimation; the materials do not declare robustness indicators for these situations.
  • Default thresholds (30°, Upside-down 45°) target general ornamental fish scenarios; whether thresholds are adjustable for fish with special body shapes is not explained in the current materials.
  • The Skill provides behavior and duration statistics, which cannot be used as a standalone basis for disease diagnosis. When the abnormality proportion rises, water quality testing and feeding records should be consulted for processing.
  • SkillHub statistics (at time of scraping): Score 100000, Downloads 731, Install Count 0; Community Skill, iteration and compatibility need to be monitored for version 1.0.0 change notes.

Conclusion

The “Fish Abnormal Swimming Posture (Side-swim / Upside-down) Detection” Skill combines rules such as side-swim, upside-down, and longitudinal axis rotation with abnormal duration proportion and daily swimming posture health reports, suitable for breeding and display scenarios that require long-term tank monitoring and want quantitative basis. Please refer to SkillHub for viewing and obtaining:

  • Page: https://www.skillhub.cn/skills/user_bb47e3e3/fish-abnormal-swimming-posture-detection-analysis
  • API: https://api.skillhub.cn/user_bb47e3e3/fish-abnormal-swimming-posture-detection-analysis
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye