You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

German Freshwater Fish Catches

For research only. Do not share, re-upload or redistribute this dataset or any part of it. See Terms of use.

90,334 photos of fish caught by anglers, each labelled with one of 39 freshwater species and the length the angler reported. Each photo also has segmentation masks that outline every fish in it. Photos in which the fish lies on a measuring scale are in their own scale split, for testing length estimation.

Use it to train and test models that recognise fish species, find fish in a photo (segmentation) or estimate fish length from a photo.

Quick start

from datasets import load_dataset

ds = load_dataset("t9s9/fishcatch")  # needs access to this private repo
row = ds["train"][0]
row["image"]                                         # PIL image
ds["train"].features["label"].int2str(row["label"])  # species name, e.g. "Hecht"
row["length_cm"]                                     # length reported by the angler
row["masks"][0]                                      # mask of the best-scoring fish (white = fish)
ds["scale"]                                          # photos with a measuring scale, see Splits

What is in one row

column type meaning
image image The photo at its original size (mostly 640 × 480 or 480 × 640). Faces of people were blurred automatically; a few faces may have been missed.
label class (0–38) Species. The names are listed in Species.
species text Species name in German (same information as label).
length_cm number Length of the fish in cm, as typed in by the angler.
length_z number length_cm on a standard scale: (ln(length_cm) − 4.0113) / 0.4900. Handy as a training target.
masks list of images One black-and-white mask per fish found in the photo, best first. White = fish. Same size as image.
mask_scores list of numbers How sure the model is about each mask (0–1).
boxes list of [x1, y1, x2, y2] Box around each mask, in pixels of image.
image_id text ID of the photo on the source website.
user_hash text Pseudonym of the angler (a salted hash). It is the same for all photos of one angler, but does not reveal who they are.
water_slug text ID of the lake or river where the fish was caught.
country text Country of that lake or river (ISO code, e.g. DE). Missing for a few rows.
approx_year number Rough year of the catch. See Limitations.
image_sha256 text SHA-256 hash of the original downloaded file. Used to find duplicates.

Splits

split photos
train 67,447
val 8,437
test 8,428
scale 6,022
total 90,334

train, val and test hold the photos without a measuring scale, about 80 / 10 / 10 %. All photos of one angler are in only one of these three splits. This stops a model from scoring well just because it saw the same person, fish, camera or background during training. Each species has about the same share in each of the three.

scale holds the 6,022 photos in which the fish lies on or next to a measuring tape, board or mat with a printed scale. They are kept out of training because a model could learn to read the length off the scale instead of judging it from the fish. Use them to test length estimation, but note:

  • length_cm is still the length the angler typed in, not a value read off the scale. Anglers round here too: about 30% of these lengths are multiples of 5 cm.
  • The photos were picked by models, not checked one by one. An image–text model (CLIP) picked likely photos, and a vision-language model (Qwen3-VL) kept those in which it saw a scale. A few may show no scale. Not every scale photo was found: some (mostly thin tapes or folding rules) are still in the other splits.
  • This split is not separated by angler: 2,613 of its 4,121 anglers also have photos in train, val or test.

Species

39 species. German names are the labels; English names are given for convenience.

label species English name train val test scale median length (cm)
0 Aal European eel 1,952 244 244 284 70
1 Aland Ide 141 18 17 13 47
2 Bachforelle Brown trout 5,140 643 642 403 38
3 Bachsaibling Brook trout 358 45 45 26 40
4 Barbe Barbel 497 62 62 23 66
5 Brachse Common bream 1,239 155 155 179 50
6 Döbel Chub 1,113 139 139 130 46
7 Flussbarsch European perch 8,053 1,007 1,007 999 34
8 Giebel Prussian carp 382 48 48 44 35
9 Goldfisch Goldfish 76 10 9 6 23
10 Goldforelle Golden rainbow trout 171 22 21 11 47
11 Graskarpfen Grass carp 1,422 178 178 31 91
12 Gründling Gudgeon 52 7 6 4 12
13 Güster Silver bream 69 9 9 11 24
14 Hecht Northern pike 15,215 1,902 1,902 1,640 75
15 Huchen Huchen (Danube salmon) 62 8 8 1 66
16 Karausche Crucian carp 373 47 47 42 33
17 Karpfen Common carp 12,437 1,555 1,555 403 65
18 Kaulbarsch Ruffe 54 7 7 8 12
19 Lachs Atlantic salmon 179 22 22 2 80
20 Marmorkarpfen Bighead carp 123 15 15 2 110
21 Meerforelle Sea trout 899 113 112 46 55
22 Nase Common nase 57 7 7 4 47
23 Quappe Burbot 274 34 34 31 50
24 Rapfen Asp 478 60 60 35 70
25 Regenbogenforelle Rainbow trout 2,878 360 360 271 43
26 Rotauge Roach 643 80 80 147 22
27 Rotfeder Rudd 584 73 73 126 21
28 Schleie Tench 3,195 399 399 457 43
29 Schwarzmund-Grundel Round goby 63 8 8 1 13
30 Seeforelle Lake trout (brown trout, lake form) 156 20 19 12 53
31 Seesaibling Arctic char 158 20 20 17 43
32 Sonnenbarsch Pumpkinseed 150 19 19 16 12
33 Stör Sturgeon 796 100 99 32 100
34 Tigerforelle Tiger trout 61 8 7 4 43
35 Wels Wels catfish 2,723 340 340 104 120
36 Zander Zander (pikeperch) 4,661 583 583 437 68
37 Zwergwels Bullhead catfish 99 12 12 10 19
38 Äsche Grayling 464 58 58 10 38

The classes are very unbalanced: the largest class has about 299× as many photos as the smallest. Some rare species have fewer than 10 test photos, so their test scores are noisy. In scale, 9 species have fewer than 10 photos.

Limitations

  • Labels come from anglers, not experts. Some species are wrong, especially for look-alikes (e.g. Rotauge / Rotfeder, Karausche / Giebel, the trout species).
  • Lengths are self-reported. Many are rounded: about 39% are multiples of 5 cm. Expect an error of a few cm.
  • One label per photo. Some photos show more than one fish, but there is only one species and length per photo.
  • approx_year is rough. The website only shows relative dates such as "8 years ago". The year is estimated from that and may be off by about a year. A few values are clearly wrong (e.g. before 2000).
  • Not only Germany. About 85% of photos are from German waters; the rest come from other, mostly European countries.
  • Bias. Photos show fish that anglers chose to photograph and share: mostly large fish of popular species, held by a person, often on land.
  • Masks are made by a model, not drawn by hand. They can miss fish, include hands or nets, or mark things that are not fish. Check mask_scores.

Terms of use

This dataset is provided for non-commercial academic research only.

  • Do not redistribute. You may not share, publish, re-upload or sell this dataset, or any photos, masks or labels from it, in whole or in part. This also applies to modified versions.
  • No other use. Do not use it for commercial purposes, and do not try to identify the people in the photos.
  • Rights stay with the owners. The photos belong to the anglers who took them. Inclusion here does not grant you any rights to them.
  • Publications may show a few example photos only if no person can be recognised in them.

If you are not sure whether your use is allowed, ask the dataset maintainers before using it.

Downloads last month
839