Birdsnap / Birdsnap.py
SaulLu's picture
load everything
9c23c22
# Copyright 2020 The HuggingFace Datasets Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Birdsnap loading script."""
import csv
import json
import os
from pathlib import Path
import datasets
_CITATION = """\
@inproceedings{berg-birdsnap-cvpr2014,
author = {Thomas Berg and Jiongxin Liu and Seung Woo Lee and Michelle L. Alexander and David W. Jacobs and Peter N. Belhumeur},
title = {Birdsnap: Large-scale Fine-grained Visual Categorization of Birds},
booktitle = {Proc. Conf. Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2014}
}
"""
_DESCRIPTION = """
Birdsnap dataset contains 49,829 images of 500 of the most common species of North American birds. There are between \
69 and 100 images per species, with most species having 100. Each image is labeled with a bounding box and the \
location of 17 parts. Some images are also labeled as male or female, immature or adult, and breeding or nonbreeding \
plumage.
"""
# TODO: Add a link to an official homepage for the dataset here
_HOMEPAGE = ""
# TODO: Add the licence for the dataset here if you can find it
_LICENSE = ""
_URL = {"images": "images/{archive_name}", "annotations": "annotations.tar.gz"}
# "http://thomasberg.org/datasets/birdsnap/1.1/birdsnap.tgz"
_IMAGES_ARCHIVES = [
"Acadian_Flycatcher.tar",
"Acorn_Woodpecker.tar",
"Alder_Flycatcher.tar",
"Allens_Hummingbird.tar",
"Altamira_Oriole.tar",
"American_Avocet.tar",
"American_Bittern.tar",
"American_Black_Duck.tar",
"American_Coot.tar",
"American_Crow.tar",
"American_Dipper.tar",
"American_Golden_Plover.tar",
"American_Goldfinch.tar",
"American_Kestrel.tar",
"American_Oystercatcher.tar",
"American_Pipit.tar",
"American_Redstart.tar",
"American_Robin.tar",
"American_Three_toed_Woodpecker.tar",
"American_Tree_Sparrow.tar",
"American_White_Pelican.tar",
"American_Wigeon.tar",
"American_Woodcock.tar",
"Anhinga.tar",
"Annas_Hummingbird.tar",
"Arctic_Tern.tar",
"Ash_throated_Flycatcher.tar",
"Audubons_Oriole.tar",
"Bairds_Sandpiper.tar",
"Bald_Eagle.tar",
"Baltimore_Oriole.tar",
"Band_tailed_Pigeon.tar",
"Barn_Swallow.tar",
"Barred_Owl.tar",
"Barrows_Goldeneye.tar",
"Bay_breasted_Warbler.tar",
"Bells_Vireo.tar",
"Belted_Kingfisher.tar",
"Bewicks_Wren.tar",
"Black_Guillemot.tar",
"Black_Oystercatcher.tar",
"Black_Phoebe.tar",
"Black_Rosy_Finch.tar",
"Black_Scoter.tar",
"Black_Skimmer.tar",
"Black_Tern.tar",
"Black_Turnstone.tar",
"Black_Vulture.tar",
"Black_and_white_Warbler.tar",
"Black_backed_Woodpecker.tar",
"Black_bellied_Plover.tar",
"Black_billed_Cuckoo.tar",
"Black_billed_Magpie.tar",
"Black_capped_Chickadee.tar",
"Black_chinned_Hummingbird.tar",
"Black_chinned_Sparrow.tar",
"Black_crested_Titmouse.tar",
"Black_crowned_Night_Heron.tar",
"Black_headed_Grosbeak.tar",
"Black_legged_Kittiwake.tar",
"Black_necked_Stilt.tar",
"Black_throated_Blue_Warbler.tar",
"Black_throated_Gray_Warbler.tar",
"Black_throated_Green_Warbler.tar",
"Black_throated_Sparrow.tar",
"Blackburnian_Warbler.tar",
"Blackpoll_Warbler.tar",
"Blue_Grosbeak.tar",
"Blue_Jay.tar",
"Blue_gray_Gnatcatcher.tar",
"Blue_headed_Vireo.tar",
"Blue_winged_Teal.tar",
"Blue_winged_Warbler.tar",
"Boat_tailed_Grackle.tar",
"Bobolink.tar",
"Bohemian_Waxwing.tar",
"Bonapartes_Gull.tar",
"Boreal_Chickadee.tar",
"Brandts_Cormorant.tar",
"Brant.tar",
"Brewers_Blackbird.tar",
"Brewers_Sparrow.tar",
"Bridled_Titmouse.tar",
"Broad_billed_Hummingbird.tar",
"Broad_tailed_Hummingbird.tar",
"Broad_winged_Hawk.tar",
"Bronzed_Cowbird.tar",
"Brown_Creeper.tar",
"Brown_Pelican.tar",
"Brown_Thrasher.tar",
"Brown_capped_Rosy_Finch.tar",
"Brown_crested_Flycatcher.tar",
"Brown_headed_Cowbird.tar",
"Brown_headed_Nuthatch.tar",
"Bufflehead.tar",
"Bullocks_Oriole.tar",
"Burrowing_Owl.tar",
"Bushtit.tar",
"Cackling_Goose.tar",
"Cactus_Wren.tar",
"California_Gull.tar",
"California_Quail.tar",
"California_Thrasher.tar",
"California_Towhee.tar",
"Calliope_Hummingbird.tar",
"Canada_Goose.tar",
"Canada_Warbler.tar",
"Canvasback.tar",
"Canyon_Towhee.tar",
"Canyon_Wren.tar",
"Cape_May_Warbler.tar",
"Carolina_Chickadee.tar",
"Carolina_Wren.tar",
"Caspian_Tern.tar",
"Cassins_Finch.tar",
"Cassins_Kingbird.tar",
"Cassins_Sparrow.tar",
"Cassins_Vireo.tar",
"Cattle_Egret.tar",
"Cave_Swallow.tar",
"Cedar_Waxwing.tar",
"Cerulean_Warbler.tar",
"Chestnut_backed_Chickadee.tar",
"Chestnut_collared_Longspur.tar",
"Chestnut_sided_Warbler.tar",
"Chihuahuan_Raven.tar",
"Chimney_Swift.tar",
"Chipping_Sparrow.tar",
"Cinnamon_Teal.tar",
"Clapper_Rail.tar",
"Clarks_Grebe.tar",
"Clarks_Nutcracker.tar",
"Clay_colored_Sparrow.tar",
"Cliff_Swallow.tar",
"Common_Black_Hawk.tar",
"Common_Eider.tar",
"Common_Gallinule.tar",
"Common_Goldeneye.tar",
"Common_Grackle.tar",
"Common_Ground_Dove.tar",
"Common_Loon.tar",
"Common_Merganser.tar",
"Common_Murre.tar",
"Common_Nighthawk.tar",
"Common_Raven.tar",
"Common_Redpoll.tar",
"Common_Tern.tar",
"Common_Yellowthroat.tar",
"Connecticut_Warbler.tar",
"Coopers_Hawk.tar",
"Cordilleran_Flycatcher.tar",
"Costas_Hummingbird.tar",
"Couchs_Kingbird.tar",
"Crested_Caracara.tar",
"Curve_billed_Thrasher.tar",
"Dark_eyed_Junco.tar",
"Dickcissel.tar",
"Double_crested_Cormorant.tar",
"Downy_Woodpecker.tar",
"Dunlin.tar",
"Dusky_Flycatcher.tar",
"Dusky_Grouse.tar",
"Eared_Grebe.tar",
"Eastern_Bluebird.tar",
"Eastern_Kingbird.tar",
"Eastern_Meadowlark.tar",
"Eastern_Phoebe.tar",
"Eastern_Screech_Owl.tar",
"Eastern_Towhee.tar",
"Eastern_Wood_Pewee.tar",
"Elegant_Trogon.tar",
"Elf_Owl.tar",
"Eurasian_Collared_Dove.tar",
"Eurasian_Wigeon.tar",
"European_Starling.tar",
"Evening_Grosbeak.tar",
"Ferruginous_Hawk.tar",
"Ferruginous_Pygmy_Owl.tar",
"Field_Sparrow.tar",
"Fish_Crow.tar",
"Florida_Scrub_Jay.tar",
"Forsters_Tern.tar",
"Fox_Sparrow.tar",
"Franklins_Gull.tar",
"Fulvous_Whistling_Duck.tar",
"Gadwall.tar",
"Gambels_Quail.tar",
"Gila_Woodpecker.tar",
"Glaucous_Gull.tar",
"Glaucous_winged_Gull.tar",
"Glossy_Ibis.tar",
"Golden_Eagle.tar",
"Golden_crowned_Kinglet.tar",
"Golden_crowned_Sparrow.tar",
"Golden_fronted_Woodpecker.tar",
"Golden_winged_Warbler.tar",
"Grasshopper_Sparrow.tar",
"Gray_Catbird.tar",
"Gray_Flycatcher.tar",
"Gray_Jay.tar",
"Gray_Kingbird.tar",
"Gray_cheeked_Thrush.tar",
"Gray_crowned_Rosy_Finch.tar",
"Great_Black_backed_Gull.tar",
"Great_Blue_Heron.tar",
"Great_Cormorant.tar",
"Great_Crested_Flycatcher.tar",
"Great_Egret.tar",
"Great_Gray_Owl.tar",
"Great_Horned_Owl.tar",
"Great_Kiskadee.tar",
"Great_tailed_Grackle.tar",
"Greater_Prairie_Chicken.tar",
"Greater_Roadrunner.tar",
"Greater_Sage_Grouse.tar",
"Greater_Scaup.tar",
"Greater_White_fronted_Goose.tar",
"Greater_Yellowlegs.tar",
"Green_Jay.tar",
"Green_tailed_Towhee.tar",
"Green_winged_Teal.tar",
"Groove_billed_Ani.tar",
"Gull_billed_Tern.tar",
"Hairy_Woodpecker.tar",
"Hammonds_Flycatcher.tar",
"Harlequin_Duck.tar",
"Harriss_Hawk.tar",
"Harriss_Sparrow.tar",
"Heermanns_Gull.tar",
"Henslows_Sparrow.tar",
"Hepatic_Tanager.tar",
"Hermit_Thrush.tar",
"Herring_Gull.tar",
"Hoary_Redpoll.tar",
"Hooded_Merganser.tar",
"Hooded_Oriole.tar",
"Hooded_Warbler.tar",
"Horned_Grebe.tar",
"Horned_Lark.tar",
"House_Finch.tar",
"House_Sparrow.tar",
"House_Wren.tar",
"Huttons_Vireo.tar",
"Iceland_Gull.tar",
"Inca_Dove.tar",
"Indigo_Bunting.tar",
"Killdeer.tar",
"King_Rail.tar",
"Ladder_backed_Woodpecker.tar",
"Lapland_Longspur.tar",
"Lark_Bunting.tar",
"Lark_Sparrow.tar",
"Laughing_Gull.tar",
"Lazuli_Bunting.tar",
"Le_Contes_Sparrow.tar",
"Least_Bittern.tar",
"Least_Flycatcher.tar",
"Least_Grebe.tar",
"Least_Sandpiper.tar",
"Least_Tern.tar",
"Lesser_Goldfinch.tar",
"Lesser_Nighthawk.tar",
"Lesser_Scaup.tar",
"Lesser_Yellowlegs.tar",
"Lewiss_Woodpecker.tar",
"Limpkin.tar",
"Lincolns_Sparrow.tar",
"Little_Blue_Heron.tar",
"Loggerhead_Shrike.tar",
"Long_billed_Curlew.tar",
"Long_billed_Dowitcher.tar",
"Long_billed_Thrasher.tar",
"Long_eared_Owl.tar",
"Long_tailed_Duck.tar",
"Louisiana_Waterthrush.tar",
"Magnificent_Frigatebird.tar",
"Magnolia_Warbler.tar",
"Mallard.tar",
"Marbled_Godwit.tar",
"Marsh_Wren.tar",
"Merlin.tar",
"Mew_Gull.tar",
"Mexican_Jay.tar",
"Mississippi_Kite.tar",
"Monk_Parakeet.tar",
"Mottled_Duck.tar",
"Mountain_Bluebird.tar",
"Mountain_Chickadee.tar",
"Mountain_Plover.tar",
"Mourning_Dove.tar",
"Mourning_Warbler.tar",
"Muscovy_Duck.tar",
"Mute_Swan.tar",
"Nashville_Warbler.tar",
"Nelsons_Sparrow.tar",
"Neotropic_Cormorant.tar",
"Northern_Bobwhite.tar",
"Northern_Cardinal.tar",
"Northern_Flicker.tar",
"Northern_Gannet.tar",
"Northern_Goshawk.tar",
"Northern_Harrier.tar",
"Northern_Hawk_Owl.tar",
"Northern_Mockingbird.tar",
"Northern_Parula.tar",
"Northern_Pintail.tar",
"Northern_Rough_winged_Swallow.tar",
"Northern_Saw_whet_Owl.tar",
"Northern_Shrike.tar",
"Northern_Waterthrush.tar",
"Nuttalls_Woodpecker.tar",
"Oak_Titmouse.tar",
"Olive_Sparrow.tar",
"Olive_sided_Flycatcher.tar",
"Orange_crowned_Warbler.tar",
"Orchard_Oriole.tar",
"Osprey.tar",
"Ovenbird.tar",
"Pacific_Golden_Plover.tar",
"Pacific_Loon.tar",
"Pacific_Wren.tar",
"Pacific_slope_Flycatcher.tar",
"Painted_Bunting.tar",
"Painted_Redstart.tar",
"Palm_Warbler.tar",
"Pectoral_Sandpiper.tar",
"Peregrine_Falcon.tar",
"Phainopepla.tar",
"Philadelphia_Vireo.tar",
"Pied_billed_Grebe.tar",
"Pigeon_Guillemot.tar",
"Pileated_Woodpecker.tar",
"Pine_Grosbeak.tar",
"Pine_Siskin.tar",
"Pine_Warbler.tar",
"Piping_Plover.tar",
"Plumbeous_Vireo.tar",
"Prairie_Falcon.tar",
"Prairie_Warbler.tar",
"Prothonotary_Warbler.tar",
"Purple_Finch.tar",
"Purple_Gallinule.tar",
"Purple_Martin.tar",
"Purple_Sandpiper.tar",
"Pygmy_Nuthatch.tar",
"Pyrrhuloxia.tar",
"Red_Crossbill.tar",
"Red_Knot.tar",
"Red_Phalarope.tar",
"Red_bellied_Woodpecker.tar",
"Red_breasted_Merganser.tar",
"Red_breasted_Nuthatch.tar",
"Red_breasted_Sapsucker.tar",
"Red_cockaded_Woodpecker.tar",
"Red_eyed_Vireo.tar",
"Red_headed_Woodpecker.tar",
"Red_naped_Sapsucker.tar",
"Red_necked_Grebe.tar",
"Red_necked_Phalarope.tar",
"Red_shouldered_Hawk.tar",
"Red_tailed_Hawk.tar",
"Red_throated_Loon.tar",
"Red_winged_Blackbird.tar",
"Reddish_Egret.tar",
"Redhead.tar",
"Ring_billed_Gull.tar",
"Ring_necked_Duck.tar",
"Ring_necked_Pheasant.tar",
"Rock_Pigeon.tar",
"Rock_Ptarmigan.tar",
"Rock_Sandpiper.tar",
"Rock_Wren.tar",
"Rose_breasted_Grosbeak.tar",
"Roseate_Tern.tar",
"Rosss_Goose.tar",
"Rough_legged_Hawk.tar",
"Royal_Tern.tar",
"Ruby_crowned_Kinglet.tar",
"Ruby_throated_Hummingbird.tar",
"Ruddy_Duck.tar",
"Ruddy_Turnstone.tar",
"Ruffed_Grouse.tar",
"Rufous_Hummingbird.tar",
"Rufous_crowned_Sparrow.tar",
"Rusty_Blackbird.tar",
"Sage_Thrasher.tar",
"Saltmarsh_Sparrow.tar",
"Sanderling.tar",
"Sandhill_Crane.tar",
"Sandwich_Tern.tar",
"Says_Phoebe.tar",
"Scaled_Quail.tar",
"Scarlet_Tanager.tar",
"Scissor_tailed_Flycatcher.tar",
"Scotts_Oriole.tar",
"Seaside_Sparrow.tar",
"Sedge_Wren.tar",
"Semipalmated_Plover.tar",
"Semipalmated_Sandpiper.tar",
"Sharp_shinned_Hawk.tar",
"Sharp_tailed_Grouse.tar",
"Short_billed_Dowitcher.tar",
"Short_eared_Owl.tar",
"Snail_Kite.tar",
"Snow_Bunting.tar",
"Snow_Goose.tar",
"Snowy_Egret.tar",
"Snowy_Owl.tar",
"Snowy_Plover.tar",
"Solitary_Sandpiper.tar",
"Song_Sparrow.tar",
"Sooty_Grouse.tar",
"Sora.tar",
"Spotted_Owl.tar",
"Spotted_Sandpiper.tar",
"Spotted_Towhee.tar",
"Spruce_Grouse.tar",
"Stellers_Jay.tar",
"Stilt_Sandpiper.tar",
"Summer_Tanager.tar",
"Surf_Scoter.tar",
"Surfbird.tar",
"Swainsons_Hawk.tar",
"Swainsons_Thrush.tar",
"Swallow_tailed_Kite.tar",
"Swamp_Sparrow.tar",
"Tennessee_Warbler.tar",
"Thayers_Gull.tar",
"Townsends_Solitaire.tar",
"Townsends_Warbler.tar",
"Tree_Swallow.tar",
"Tricolored_Heron.tar",
"Tropical_Kingbird.tar",
"Trumpeter_Swan.tar",
"Tufted_Titmouse.tar",
"Tundra_Swan.tar",
"Turkey_Vulture.tar",
"Upland_Sandpiper.tar",
"Varied_Thrush.tar",
"Veery.tar",
"Verdin.tar",
"Vermilion_Flycatcher.tar",
"Vesper_Sparrow.tar",
"Violet_green_Swallow.tar",
"Virginia_Rail.tar",
"Wandering_Tattler.tar",
"Warbling_Vireo.tar",
"Western_Bluebird.tar",
"Western_Grebe.tar",
"Western_Gull.tar",
"Western_Kingbird.tar",
"Western_Meadowlark.tar",
"Western_Sandpiper.tar",
"Western_Screech_Owl.tar",
"Western_Scrub_Jay.tar",
"Western_Tanager.tar",
"Western_Wood_Pewee.tar",
"Whimbrel.tar",
"White_Ibis.tar",
"White_breasted_Nuthatch.tar",
"White_crowned_Sparrow.tar",
"White_eyed_Vireo.tar",
"White_faced_Ibis.tar",
"White_headed_Woodpecker.tar",
"White_rumped_Sandpiper.tar",
"White_tailed_Hawk.tar",
"White_tailed_Kite.tar",
"White_tailed_Ptarmigan.tar",
"White_throated_Sparrow.tar",
"White_throated_Swift.tar",
"White_winged_Crossbill.tar",
"White_winged_Dove.tar",
"White_winged_Scoter.tar",
"Wild_Turkey.tar",
"Willet.tar",
"Williamsons_Sapsucker.tar",
"Willow_Flycatcher.tar",
"Willow_Ptarmigan.tar",
"Wilsons_Phalarope.tar",
"Wilsons_Plover.tar",
"Wilsons_Snipe.tar",
"Wilsons_Warbler.tar",
"Winter_Wren.tar",
"Wood_Stork.tar",
"Wood_Thrush.tar",
"Worm_eating_Warbler.tar",
"Wrentit.tar",
"Yellow_Warbler.tar",
"Yellow_bellied_Flycatcher.tar",
"Yellow_bellied_Sapsucker.tar",
"Yellow_billed_Cuckoo.tar",
"Yellow_billed_Magpie.tar",
"Yellow_breasted_Chat.tar",
"Yellow_crowned_Night_Heron.tar",
"Yellow_eyed_Junco.tar",
"Yellow_headed_Blackbird.tar",
"Yellow_rumped_Warbler.tar",
"Yellow_throated_Vireo.tar",
"Yellow_throated_Warbler.tar",
"Zone_tailed_Hawk.tar",
]
_ID_TO_ALL = {
"1": {
"common": "Cooper's Hawk",
"scientific": "Accipiter cooperii",
"dir": "coopers_hawk",
},
"2": {
"common": "Northern Goshawk",
"scientific": "Accipiter gentilis",
"dir": "northern_goshawk",
},
"3": {
"common": "Sharp-shinned Hawk",
"scientific": "Accipiter striatus",
"dir": "sharp_shinned_hawk",
},
"4": {
"common": "Golden Eagle",
"scientific": "Aquila chrysaetos",
"dir": "golden_eagle",
},
"5": {
"common": "White-tailed Hawk",
"scientific": "Buteo albicaudatus",
"dir": "white_tailed_hawk",
},
"6": {
"common": "Zone-tailed Hawk",
"scientific": "Buteo albonotatus",
"dir": "zone_tailed_hawk",
},
"7": {
"common": "Red-tailed Hawk",
"scientific": "Buteo jamaicensis",
"dir": "red_tailed_hawk",
},
"8": {
"common": "Rough-legged Hawk",
"scientific": "Buteo lagopus",
"dir": "rough_legged_hawk",
},
"9": {
"common": "Red-shouldered Hawk",
"scientific": "Buteo lineatus",
"dir": "red_shouldered_hawk",
},
"10": {
"common": "Broad-winged Hawk",
"scientific": "Buteo platypterus",
"dir": "broad_winged_hawk",
},
"11": {
"common": "Ferruginous Hawk",
"scientific": "Buteo regalis",
"dir": "ferruginous_hawk",
},
"12": {
"common": "Swainson's Hawk",
"scientific": "Buteo swainsoni",
"dir": "swainsons_hawk",
},
"13": {
"common": "Common Black-Hawk",
"scientific": "Buteogallus anthracinus",
"dir": "common_black_hawk",
},
"14": {
"common": "Northern Harrier",
"scientific": "Circus cyaneus",
"dir": "northern_harrier",
},
"15": {
"common": "Swallow-tailed Kite",
"scientific": "Elanoides forficatus",
"dir": "swallow_tailed_kite",
},
"16": {
"common": "White-tailed Kite",
"scientific": "Elanus leucurus",
"dir": "white_tailed_kite",
},
"17": {
"common": "Bald Eagle",
"scientific": "Haliaeetus leucocephalus",
"dir": "bald_eagle",
},
"18": {
"common": "Mississippi Kite",
"scientific": "Ictinia mississippiensis",
"dir": "mississippi_kite",
},
"19": {
"common": "Harris's Hawk",
"scientific": "Parabuteo unicinctus",
"dir": "harriss_hawk",
},
"20": {
"common": "Snail Kite",
"scientific": "Rostrhamus sociabilis",
"dir": "snail_kite",
},
"21": {"common": "Bushtit", "scientific": "Psaltriparus minimus", "dir": "bushtit"},
"22": {
"common": "Horned Lark",
"scientific": "Eremophila alpestris",
"dir": "horned_lark",
},
"23": {
"common": "Belted Kingfisher",
"scientific": "Megaceryle alcyon",
"dir": "belted_kingfisher",
},
"24": {
"common": "Pigeon Guillemot",
"scientific": "Cepphus columba",
"dir": "pigeon_guillemot",
},
"25": {
"common": "Black Guillemot",
"scientific": "Cepphus grylle",
"dir": "black_guillemot",
},
"26": {"common": "Common Murre", "scientific": "Uria aalge", "dir": "common_murre"},
"27": {
"common": "Northern Pintail",
"scientific": "Anas acuta",
"dir": "northern_pintail",
},
"28": {
"common": "American Wigeon",
"scientific": "Anas americana",
"dir": "american_wigeon",
},
"29": {
"common": "Green-winged Teal",
"scientific": "Anas crecca",
"dir": "green_winged_teal",
},
"30": {
"common": "Cinnamon Teal",
"scientific": "Anas cyanoptera",
"dir": "cinnamon_teal",
},
"31": {
"common": "Blue-winged Teal",
"scientific": "Anas discors",
"dir": "blue_winged_teal",
},
"32": {
"common": "Mottled Duck",
"scientific": "Anas fulvigula",
"dir": "mottled_duck",
},
"33": {
"common": "Eurasian Wigeon",
"scientific": "Anas penelope",
"dir": "eurasian_wigeon",
},
"34": {"common": "Mallard", "scientific": "Anas platyrhynchos", "dir": "mallard"},
"35": {
"common": "American Black Duck",
"scientific": "Anas rubripes",
"dir": "american_black_duck",
},
"36": {"common": "Gadwall", "scientific": "Anas strepera", "dir": "gadwall"},
"37": {
"common": "Lesser Scaup",
"scientific": "Aythya affinis",
"dir": "lesser_scaup",
},
"38": {"common": "Redhead", "scientific": "Aythya americana", "dir": "redhead"},
"39": {
"common": "Ring-necked Duck",
"scientific": "Aythya collaris",
"dir": "ring_necked_duck",
},
"40": {
"common": "Greater Scaup",
"scientific": "Aythya marila",
"dir": "greater_scaup",
},
"41": {
"common": "Canvasback",
"scientific": "Aythya valisineria",
"dir": "canvasback",
},
"42": {
"common": "Bufflehead",
"scientific": "Bucephala albeola",
"dir": "bufflehead",
},
"43": {
"common": "Common Goldeneye",
"scientific": "Bucephala clangula",
"dir": "common_goldeneye",
},
"44": {
"common": "Barrow's Goldeneye",
"scientific": "Bucephala islandica",
"dir": "barrows_goldeneye",
},
"45": {
"common": "Muscovy Duck",
"scientific": "Cairina moschata",
"dir": "muscovy_duck",
},
"46": {
"common": "Long-tailed Duck",
"scientific": "Clangula hyemalis",
"dir": "long_tailed_duck",
},
"47": {
"common": "Harlequin Duck",
"scientific": "Histrionicus histrionicus",
"dir": "harlequin_duck",
},
"48": {
"common": "Hooded Merganser",
"scientific": "Lophodytes cucullatus",
"dir": "hooded_merganser",
},
"49": {
"common": "Black Scoter",
"scientific": "Melanitta americana",
"dir": "black_scoter",
},
"50": {
"common": "White-winged Scoter",
"scientific": "Melanitta fusca",
"dir": "white_winged_scoter",
},
"51": {
"common": "Surf Scoter",
"scientific": "Melanitta perspicillata",
"dir": "surf_scoter",
},
"52": {
"common": "Common Merganser",
"scientific": "Mergus merganser",
"dir": "common_merganser",
},
"53": {
"common": "Red-breasted Merganser",
"scientific": "Mergus serrator",
"dir": "red_breasted_merganser",
},
"54": {
"common": "Ruddy Duck",
"scientific": "Oxyura jamaicensis",
"dir": "ruddy_duck",
},
"55": {
"common": "Common Eider",
"scientific": "Somateria mollissima",
"dir": "common_eider",
},
"56": {
"common": "Greater White-fronted Goose",
"scientific": "Anser albifrons",
"dir": "greater_white_fronted_goose",
},
"57": {"common": "Brant", "scientific": "Branta bernicla", "dir": "brant"},
"58": {
"common": "Canada Goose",
"scientific": "Branta canadensis",
"dir": "canada_goose",
},
"59": {
"common": "Cackling Goose",
"scientific": "Branta hutchinsii",
"dir": "cackling_goose",
},
"60": {
"common": "Snow Goose",
"scientific": "Chen caerulescens",
"dir": "snow_goose",
},
"61": {"common": "Ross's Goose", "scientific": "Chen rossii", "dir": "rosss_goose"},
"62": {
"common": "Trumpeter Swan",
"scientific": "Cygnus buccinator",
"dir": "trumpeter_swan",
},
"63": {
"common": "Tundra Swan",
"scientific": "Cygnus columbianus",
"dir": "tundra_swan",
},
"64": {"common": "Mute Swan", "scientific": "Cygnus olor", "dir": "mute_swan"},
"65": {
"common": "Fulvous Whistling-Duck",
"scientific": "Dendrocygna bicolor",
"dir": "fulvous_whistling_duck",
},
"66": {"common": "Anhinga", "scientific": "Anhinga anhinga", "dir": "anhinga"},
"67": {
"common": "White-throated Swift",
"scientific": "Aeronautes saxatalis",
"dir": "white_throated_swift",
},
"68": {
"common": "Chimney Swift",
"scientific": "Chaetura pelagica",
"dir": "chimney_swift",
},
"69": {"common": "Limpkin", "scientific": "Aramus guarauna", "dir": "limpkin"},
"70": {"common": "Great Egret", "scientific": "Ardea alba", "dir": "great_egret"},
"71": {
"common": "Great Blue Heron",
"scientific": "Ardea herodias",
"dir": "great_blue_heron",
},
"72": {
"common": "American Bittern",
"scientific": "Botaurus lentiginosus",
"dir": "american_bittern",
},
"73": {
"common": "Cattle Egret",
"scientific": "Bubulcus ibis",
"dir": "cattle_egret",
},
"74": {
"common": "Little Blue Heron",
"scientific": "Egretta caerulea",
"dir": "little_blue_heron",
},
"75": {
"common": "Reddish Egret",
"scientific": "Egretta rufescens",
"dir": "reddish_egret",
},
"76": {
"common": "Snowy Egret",
"scientific": "Egretta thula",
"dir": "snowy_egret",
},
"77": {
"common": "Tricolored Heron",
"scientific": "Egretta tricolor",
"dir": "tricolored_heron",
},
"78": {
"common": "Least Bittern",
"scientific": "Ixobrychus exilis",
"dir": "least_bittern",
},
"79": {
"common": "Yellow-crowned Night-Heron",
"scientific": "Nyctanassa violacea",
"dir": "yellow_crowned_night_heron",
},
"80": {
"common": "Black-crowned Night-Heron",
"scientific": "Nycticorax nycticorax",
"dir": "black_crowned_night_heron",
},
"81": {
"common": "Cedar Waxwing",
"scientific": "Bombycilla cedrorum",
"dir": "cedar_waxwing",
},
"82": {
"common": "Bohemian Waxwing",
"scientific": "Bombycilla garrulus",
"dir": "bohemian_waxwing",
},
"83": {
"common": "Lapland Longspur",
"scientific": "Calcarius lapponicus",
"dir": "lapland_longspur",
},
"84": {
"common": "Chestnut-collared Longspur",
"scientific": "Calcarius ornatus",
"dir": "chestnut_collared_longspur",
},
"85": {
"common": "Snow Bunting",
"scientific": "Plectrophenax nivalis",
"dir": "snow_bunting",
},
"86": {
"common": "Lesser Nighthawk",
"scientific": "Chordeiles acutipennis",
"dir": "lesser_nighthawk",
},
"87": {
"common": "Common Nighthawk",
"scientific": "Chordeiles minor",
"dir": "common_nighthawk",
},
"88": {
"common": "Northern Cardinal",
"scientific": "Cardinalis cardinalis",
"dir": "northern_cardinal",
},
"89": {
"common": "Pyrrhuloxia",
"scientific": "Cardinalis sinuatus",
"dir": "pyrrhuloxia",
},
"90": {
"common": "Lazuli Bunting",
"scientific": "Passerina amoena",
"dir": "lazuli_bunting",
},
"91": {
"common": "Blue Grosbeak",
"scientific": "Passerina caerulea",
"dir": "blue_grosbeak",
},
"92": {
"common": "Painted Bunting",
"scientific": "Passerina ciris",
"dir": "painted_bunting",
},
"93": {
"common": "Indigo Bunting",
"scientific": "Passerina cyanea",
"dir": "indigo_bunting",
},
"94": {
"common": "Rose-breasted Grosbeak",
"scientific": "Pheucticus ludovicianus",
"dir": "rose_breasted_grosbeak",
},
"95": {
"common": "Black-headed Grosbeak",
"scientific": "Pheucticus melanocephalus",
"dir": "black_headed_grosbeak",
},
"96": {
"common": "Hepatic Tanager",
"scientific": "Piranga flava",
"dir": "hepatic_tanager",
},
"97": {
"common": "Western Tanager",
"scientific": "Piranga ludoviciana",
"dir": "western_tanager",
},
"98": {
"common": "Scarlet Tanager",
"scientific": "Piranga olivacea",
"dir": "scarlet_tanager",
},
"99": {
"common": "Summer Tanager",
"scientific": "Piranga rubra",
"dir": "summer_tanager",
},
"100": {
"common": "Dickcissel",
"scientific": "Spiza americana",
"dir": "dickcissel",
},
"101": {
"common": "Turkey Vulture",
"scientific": "Cathartes aura",
"dir": "turkey_vulture",
},
"102": {
"common": "Black Vulture",
"scientific": "Coragyps atratus",
"dir": "black_vulture",
},
"103": {
"common": "Brown Creeper",
"scientific": "Certhia americana",
"dir": "brown_creeper",
},
"104": {
"common": "Piping Plover",
"scientific": "Charadrius melodus",
"dir": "piping_plover",
},
"105": {
"common": "Mountain Plover",
"scientific": "Charadrius montanus",
"dir": "mountain_plover",
},
"106": {
"common": "Snowy Plover",
"scientific": "Charadrius nivosus",
"dir": "snowy_plover",
},
"107": {
"common": "Semipalmated Plover",
"scientific": "Charadrius semipalmatus",
"dir": "semipalmated_plover",
},
"108": {
"common": "Killdeer",
"scientific": "Charadrius vociferus",
"dir": "killdeer",
},
"109": {
"common": "Wilson's Plover",
"scientific": "Charadrius wilsonia",
"dir": "wilsons_plover",
},
"110": {
"common": "American Golden-Plover",
"scientific": "Pluvialis dominica",
"dir": "american_golden_plover",
},
"111": {
"common": "Pacific Golden-Plover",
"scientific": "Pluvialis fulva",
"dir": "pacific_golden_plover",
},
"112": {
"common": "Black-bellied Plover",
"scientific": "Pluvialis squatarola",
"dir": "black_bellied_plover",
},
"113": {
"common": "Wood Stork",
"scientific": "Mycteria americana",
"dir": "wood_stork",
},
"114": {
"common": "American Dipper",
"scientific": "Cinclus mexicanus",
"dir": "american_dipper",
},
"115": {
"common": "Rock Pigeon",
"scientific": "Columba livia",
"dir": "rock_pigeon",
},
"116": {"common": "Inca Dove", "scientific": "Columbina inca", "dir": "inca_dove"},
"117": {
"common": "Common Ground-Dove",
"scientific": "Columbina passerina",
"dir": "common_ground_dove",
},
"118": {
"common": "Band-tailed Pigeon",
"scientific": "Patagioenas fasciata",
"dir": "band_tailed_pigeon",
},
"119": {
"common": "Eurasian Collared-Dove",
"scientific": "Streptopelia decaocto",
"dir": "eurasian_collared_dove",
},
"120": {
"common": "White-winged Dove",
"scientific": "Zenaida asiatica",
"dir": "white_winged_dove",
},
"121": {
"common": "Mourning Dove",
"scientific": "Zenaida macroura",
"dir": "mourning_dove",
},
"122": {
"common": "Western Scrub-Jay",
"scientific": "Aphelocoma californica",
"dir": "western_scrub_jay",
},
"123": {
"common": "Florida Scrub-Jay",
"scientific": "Aphelocoma coerulescens",
"dir": "florida_scrub_jay",
},
"124": {
"common": "Mexican Jay",
"scientific": "Aphelocoma wollweberi",
"dir": "mexican_jay",
},
"125": {
"common": "American Crow",
"scientific": "Corvus brachyrhynchos",
"dir": "american_crow",
},
"126": {
"common": "Common Raven",
"scientific": "Corvus corax",
"dir": "common_raven",
},
"127": {
"common": "Chihuahuan Raven",
"scientific": "Corvus cryptoleucus",
"dir": "chihuahuan_raven",
},
"128": {
"common": "Fish Crow",
"scientific": "Corvus ossifragus",
"dir": "fish_crow",
},
"129": {
"common": "Blue Jay",
"scientific": "Cyanocitta cristata",
"dir": "blue_jay",
},
"130": {
"common": "Steller's Jay",
"scientific": "Cyanocitta stelleri",
"dir": "stellers_jay",
},
"131": {
"common": "Green Jay",
"scientific": "Cyanocorax yncas",
"dir": "green_jay",
},
"132": {
"common": "Clark's Nutcracker",
"scientific": "Nucifraga columbiana",
"dir": "clarks_nutcracker",
},
"133": {
"common": "Gray Jay",
"scientific": "Perisoreus canadensis",
"dir": "gray_jay",
},
"134": {
"common": "Black-billed Magpie",
"scientific": "Pica hudsonia",
"dir": "black_billed_magpie",
},
"135": {
"common": "Yellow-billed Magpie",
"scientific": "Pica nuttalli",
"dir": "yellow_billed_magpie",
},
"136": {
"common": "Groove-billed Ani",
"scientific": "Crotophaga sulcirostris",
"dir": "groove_billed_ani",
},
"137": {
"common": "Yellow-billed Cuckoo",
"scientific": "Coccyzus americanus",
"dir": "yellow_billed_cuckoo",
},
"138": {
"common": "Black-billed Cuckoo",
"scientific": "Coccyzus erythropthalmus",
"dir": "black_billed_cuckoo",
},
"139": {
"common": "Greater Roadrunner",
"scientific": "Geococcyx californianus",
"dir": "greater_roadrunner",
},
"140": {
"common": "Rufous-crowned Sparrow",
"scientific": "Aimophila ruficeps",
"dir": "rufous_crowned_sparrow",
},
"141": {
"common": "Saltmarsh Sparrow",
"scientific": "Ammodramus caudacutus",
"dir": "saltmarsh_sparrow",
},
"142": {
"common": "Henslow's Sparrow",
"scientific": "Ammodramus henslowii",
"dir": "henslows_sparrow",
},
"143": {
"common": "Le Conte's Sparrow",
"scientific": "Ammodramus leconteii",
"dir": "le_contes_sparrow",
},
"144": {
"common": "Seaside Sparrow",
"scientific": "Ammodramus maritimus",
"dir": "seaside_sparrow",
},
"145": {
"common": "Nelson's Sparrow",
"scientific": "Ammodramus nelsoni",
"dir": "nelsons_sparrow",
},
"146": {
"common": "Grasshopper Sparrow",
"scientific": "Ammodramus savannarum",
"dir": "grasshopper_sparrow",
},
"147": {
"common": "Black-throated Sparrow",
"scientific": "Amphispiza bilineata",
"dir": "black_throated_sparrow",
},
"148": {
"common": "Olive Sparrow",
"scientific": "Arremonops rufivirgatus",
"dir": "olive_sparrow",
},
"149": {
"common": "Lark Bunting",
"scientific": "Calamospiza melanocorys",
"dir": "lark_bunting",
},
"150": {
"common": "Lark Sparrow",
"scientific": "Chondestes grammacus",
"dir": "lark_sparrow",
},
"151": {
"common": "Dark-eyed Junco",
"scientific": "Junco hyemalis",
"dir": "dark_eyed_junco",
},
"152": {
"common": "Yellow-eyed Junco",
"scientific": "Junco phaeonotus",
"dir": "yellow_eyed_junco",
},
"153": {
"common": "Swamp Sparrow",
"scientific": "Melospiza georgiana",
"dir": "swamp_sparrow",
},
"154": {
"common": "Lincoln's Sparrow",
"scientific": "Melospiza lincolnii",
"dir": "lincolns_sparrow",
},
"155": {
"common": "Song Sparrow",
"scientific": "Melospiza melodia",
"dir": "song_sparrow",
},
"156": {
"common": "California Towhee",
"scientific": "Melozone crissalis",
"dir": "california_towhee",
},
"157": {
"common": "Canyon Towhee",
"scientific": "Melozone fusca",
"dir": "canyon_towhee",
},
"158": {
"common": "Fox Sparrow",
"scientific": "Passerella iliaca",
"dir": "fox_sparrow",
},
"159": {
"common": "Cassin's Sparrow",
"scientific": "Peucaea cassinii",
"dir": "cassins_sparrow",
},
"160": {
"common": "Green-tailed Towhee",
"scientific": "Pipilo chlorurus",
"dir": "green_tailed_towhee",
},
"161": {
"common": "Eastern Towhee",
"scientific": "Pipilo erythrophthalmus",
"dir": "eastern_towhee",
},
"162": {
"common": "Spotted Towhee",
"scientific": "Pipilo maculatus",
"dir": "spotted_towhee",
},
"163": {
"common": "Vesper Sparrow",
"scientific": "Pooecetes gramineus",
"dir": "vesper_sparrow",
},
"164": {
"common": "American Tree Sparrow",
"scientific": "Spizella arborea",
"dir": "american_tree_sparrow",
},
"165": {
"common": "Black-chinned Sparrow",
"scientific": "Spizella atrogularis",
"dir": "black_chinned_sparrow",
},
"166": {
"common": "Brewer's Sparrow",
"scientific": "Spizella breweri",
"dir": "brewers_sparrow",
},
"167": {
"common": "Clay-colored Sparrow",
"scientific": "Spizella pallida",
"dir": "clay_colored_sparrow",
},
"168": {
"common": "Chipping Sparrow",
"scientific": "Spizella passerina",
"dir": "chipping_sparrow",
},
"169": {
"common": "Field Sparrow",
"scientific": "Spizella pusilla",
"dir": "field_sparrow",
},
"170": {
"common": "White-throated Sparrow",
"scientific": "Zonotrichia albicollis",
"dir": "white_throated_sparrow",
},
"171": {
"common": "Golden-crowned Sparrow",
"scientific": "Zonotrichia atricapilla",
"dir": "golden_crowned_sparrow",
},
"172": {
"common": "White-crowned Sparrow",
"scientific": "Zonotrichia leucophrys",
"dir": "white_crowned_sparrow",
},
"173": {
"common": "Harris's Sparrow",
"scientific": "Zonotrichia querula",
"dir": "harriss_sparrow",
},
"174": {
"common": "Crested Caracara",
"scientific": "Caracara cheriway",
"dir": "crested_caracara",
},
"175": {"common": "Merlin", "scientific": "Falco columbarius", "dir": "merlin"},
"176": {
"common": "Prairie Falcon",
"scientific": "Falco mexicanus",
"dir": "prairie_falcon",
},
"177": {
"common": "Peregrine Falcon",
"scientific": "Falco peregrinus",
"dir": "peregrine_falcon",
},
"178": {
"common": "American Kestrel",
"scientific": "Falco sparverius",
"dir": "american_kestrel",
},
"179": {
"common": "Magnificent Frigatebird",
"scientific": "Fregata magnificens",
"dir": "magnificent_frigatebird",
},
"180": {
"common": "Common Redpoll",
"scientific": "Acanthis flammea",
"dir": "common_redpoll",
},
"181": {
"common": "Hoary Redpoll",
"scientific": "Acanthis hornemanni",
"dir": "hoary_redpoll",
},
"182": {
"common": "Evening Grosbeak",
"scientific": "Coccothraustes vespertinus",
"dir": "evening_grosbeak",
},
"183": {
"common": "Cassin's Finch",
"scientific": "Haemorhous cassinii",
"dir": "cassins_finch",
},
"184": {
"common": "House Finch",
"scientific": "Haemorhous mexicanus",
"dir": "house_finch",
},
"185": {
"common": "Purple Finch",
"scientific": "Haemorhous purpureus",
"dir": "purple_finch",
},
"186": {
"common": "Black Rosy-Finch",
"scientific": "Leucosticte atrata",
"dir": "black_rosy_finch",
},
"187": {
"common": "Brown-capped Rosy-Finch",
"scientific": "Leucosticte australis",
"dir": "brown_capped_rosy_finch",
},
"188": {
"common": "Gray-crowned Rosy-Finch",
"scientific": "Leucosticte tephrocotis",
"dir": "gray_crowned_rosy_finch",
},
"189": {
"common": "Red Crossbill",
"scientific": "Loxia curvirostra",
"dir": "red_crossbill",
},
"190": {
"common": "White-winged Crossbill",
"scientific": "Loxia leucoptera",
"dir": "white_winged_crossbill",
},
"191": {
"common": "Pine Grosbeak",
"scientific": "Pinicola enucleator",
"dir": "pine_grosbeak",
},
"192": {
"common": "Pine Siskin",
"scientific": "Spinus pinus",
"dir": "pine_siskin",
},
"193": {
"common": "Lesser Goldfinch",
"scientific": "Spinus psaltria",
"dir": "lesser_goldfinch",
},
"194": {
"common": "American Goldfinch",
"scientific": "Spinus tristis",
"dir": "american_goldfinch",
},
"195": {"common": "Common Loon", "scientific": "Gavia immer", "dir": "common_loon"},
"196": {
"common": "Pacific Loon",
"scientific": "Gavia pacifica",
"dir": "pacific_loon",
},
"197": {
"common": "Red-throated Loon",
"scientific": "Gavia stellata",
"dir": "red_throated_loon",
},
"198": {
"common": "Sandhill Crane",
"scientific": "Grus canadensis",
"dir": "sandhill_crane",
},
"199": {
"common": "Black Oystercatcher",
"scientific": "Haematopus bachmani",
"dir": "black_oystercatcher",
},
"200": {
"common": "American Oystercatcher",
"scientific": "Haematopus palliatus",
"dir": "american_oystercatcher",
},
"201": {
"common": "Barn Swallow",
"scientific": "Hirundo rustica",
"dir": "barn_swallow",
},
"202": {
"common": "Cave Swallow",
"scientific": "Petrochelidon fulva",
"dir": "cave_swallow",
},
"203": {
"common": "Cliff Swallow",
"scientific": "Petrochelidon pyrrhonota",
"dir": "cliff_swallow",
},
"204": {
"common": "Purple Martin",
"scientific": "Progne subis",
"dir": "purple_martin",
},
"205": {
"common": "Northern Rough-winged Swallow",
"scientific": "Stelgidopteryx serripennis",
"dir": "northern_rough_winged_swallow",
},
"206": {
"common": "Tree Swallow",
"scientific": "Tachycineta bicolor",
"dir": "tree_swallow",
},
"207": {
"common": "Violet-green Swallow",
"scientific": "Tachycineta thalassina",
"dir": "violet_green_swallow",
},
"208": {
"common": "Red-winged Blackbird",
"scientific": "Agelaius phoeniceus",
"dir": "red_winged_blackbird",
},
"209": {
"common": "Bobolink",
"scientific": "Dolichonyx oryzivorus",
"dir": "bobolink",
},
"210": {
"common": "Rusty Blackbird",
"scientific": "Euphagus carolinus",
"dir": "rusty_blackbird",
},
"211": {
"common": "Brewer's Blackbird",
"scientific": "Euphagus cyanocephalus",
"dir": "brewers_blackbird",
},
"212": {
"common": "Bullock's Oriole",
"scientific": "Icterus bullockii",
"dir": "bullocks_oriole",
},
"213": {
"common": "Hooded Oriole",
"scientific": "Icterus cucullatus",
"dir": "hooded_oriole",
},
"214": {
"common": "Baltimore Oriole",
"scientific": "Icterus galbula",
"dir": "baltimore_oriole",
},
"215": {
"common": "Audubon's Oriole",
"scientific": "Icterus graduacauda",
"dir": "audubons_oriole",
},
"216": {
"common": "Altamira Oriole",
"scientific": "Icterus gularis",
"dir": "altamira_oriole",
},
"217": {
"common": "Scott's Oriole",
"scientific": "Icterus parisorum",
"dir": "scotts_oriole",
},
"218": {
"common": "Orchard Oriole",
"scientific": "Icterus spurius",
"dir": "orchard_oriole",
},
"219": {
"common": "Bronzed Cowbird",
"scientific": "Molothrus aeneus",
"dir": "bronzed_cowbird",
},
"220": {
"common": "Brown-headed Cowbird",
"scientific": "Molothrus ater",
"dir": "brown_headed_cowbird",
},
"221": {
"common": "Boat-tailed Grackle",
"scientific": "Quiscalus major",
"dir": "boat_tailed_grackle",
},
"222": {
"common": "Great-tailed Grackle",
"scientific": "Quiscalus mexicanus",
"dir": "great_tailed_grackle",
},
"223": {
"common": "Common Grackle",
"scientific": "Quiscalus quiscula",
"dir": "common_grackle",
},
"224": {
"common": "Eastern Meadowlark",
"scientific": "Sturnella magna",
"dir": "eastern_meadowlark",
},
"225": {
"common": "Western Meadowlark",
"scientific": "Sturnella neglecta",
"dir": "western_meadowlark",
},
"226": {
"common": "Yellow-headed Blackbird",
"scientific": "Xanthocephalus xanthocephalus",
"dir": "yellow_headed_blackbird",
},
"227": {
"common": "Northern Shrike",
"scientific": "Lanius excubitor",
"dir": "northern_shrike",
},
"228": {
"common": "Loggerhead Shrike",
"scientific": "Lanius ludovicianus",
"dir": "loggerhead_shrike",
},
"229": {
"common": "Bonaparte's Gull",
"scientific": "Chroicocephalus philadelphia",
"dir": "bonapartes_gull",
},
"230": {
"common": "Herring Gull",
"scientific": "Larus argentatus",
"dir": "herring_gull",
},
"231": {
"common": "California Gull",
"scientific": "Larus californicus",
"dir": "california_gull",
},
"232": {"common": "Mew Gull", "scientific": "Larus canus", "dir": "mew_gull"},
"233": {
"common": "Ring-billed Gull",
"scientific": "Larus delawarensis",
"dir": "ring_billed_gull",
},
"234": {
"common": "Glaucous-winged Gull",
"scientific": "Larus glaucescens",
"dir": "glaucous_winged_gull",
},
"235": {
"common": "Iceland Gull",
"scientific": "Larus glaucoides",
"dir": "iceland_gull",
},
"236": {
"common": "Heermann's Gull",
"scientific": "Larus heermanni",
"dir": "heermanns_gull",
},
"237": {
"common": "Glaucous Gull",
"scientific": "Larus hyperboreus",
"dir": "glaucous_gull",
},
"238": {
"common": "Great Black-backed Gull",
"scientific": "Larus marinus",
"dir": "great_black_backed_gull",
},
"239": {
"common": "Western Gull",
"scientific": "Larus occidentalis",
"dir": "western_gull",
},
"240": {
"common": "Thayer's Gull",
"scientific": "Larus thayeri",
"dir": "thayers_gull",
},
"241": {
"common": "Laughing Gull",
"scientific": "Leucophaeus atricilla",
"dir": "laughing_gull",
},
"242": {
"common": "Franklin's Gull",
"scientific": "Leucophaeus pipixcan",
"dir": "franklins_gull",
},
"243": {
"common": "Black-legged Kittiwake",
"scientific": "Rissa tridactyla",
"dir": "black_legged_kittiwake",
},
"244": {
"common": "Black Skimmer",
"scientific": "Rynchops niger",
"dir": "black_skimmer",
},
"245": {
"common": "Black Tern",
"scientific": "Chlidonias niger",
"dir": "black_tern",
},
"246": {
"common": "Gull-billed Tern",
"scientific": "Gelochelidon nilotica",
"dir": "gull_billed_tern",
},
"247": {
"common": "Caspian Tern",
"scientific": "Hydroprogne caspia",
"dir": "caspian_tern",
},
"248": {
"common": "Roseate Tern",
"scientific": "Sterna dougallii",
"dir": "roseate_tern",
},
"249": {
"common": "Forster's Tern",
"scientific": "Sterna forsteri",
"dir": "forsters_tern",
},
"250": {
"common": "Common Tern",
"scientific": "Sterna hirundo",
"dir": "common_tern",
},
"251": {
"common": "Arctic Tern",
"scientific": "Sterna paradisaea",
"dir": "arctic_tern",
},
"252": {
"common": "Least Tern",
"scientific": "Sternula antillarum",
"dir": "least_tern",
},
"253": {
"common": "Royal Tern",
"scientific": "Thalasseus maximus",
"dir": "royal_tern",
},
"254": {
"common": "Sandwich Tern",
"scientific": "Thalasseus sandvicensis",
"dir": "sandwich_tern",
},
"255": {
"common": "Gray Catbird",
"scientific": "Dumetella carolinensis",
"dir": "gray_catbird",
},
"256": {
"common": "Northern Mockingbird",
"scientific": "Mimus polyglottos",
"dir": "northern_mockingbird",
},
"257": {
"common": "Sage Thrasher",
"scientific": "Oreoscoptes montanus",
"dir": "sage_thrasher",
},
"258": {
"common": "Curve-billed Thrasher",
"scientific": "Toxostoma curvirostre",
"dir": "curve_billed_thrasher",
},
"259": {
"common": "Long-billed Thrasher",
"scientific": "Toxostoma longirostre",
"dir": "long_billed_thrasher",
},
"260": {
"common": "California Thrasher",
"scientific": "Toxostoma redivivum",
"dir": "california_thrasher",
},
"261": {
"common": "Brown Thrasher",
"scientific": "Toxostoma rufum",
"dir": "brown_thrasher",
},
"262": {
"common": "American Pipit",
"scientific": "Anthus rubescens",
"dir": "american_pipit",
},
"263": {
"common": "California Quail",
"scientific": "Callipepla californica",
"dir": "california_quail",
},
"264": {
"common": "Gambel's Quail",
"scientific": "Callipepla gambelii",
"dir": "gambels_quail",
},
"265": {
"common": "Scaled Quail",
"scientific": "Callipepla squamata",
"dir": "scaled_quail",
},
"266": {
"common": "Northern Bobwhite",
"scientific": "Colinus virginianus",
"dir": "northern_bobwhite",
},
"267": {"common": "Osprey", "scientific": "Pandion haliaetus", "dir": "osprey"},
"268": {
"common": "Black-crested Titmouse",
"scientific": "Baeolophus atricristatus",
"dir": "black_crested_titmouse",
},
"269": {
"common": "Tufted Titmouse",
"scientific": "Baeolophus bicolor",
"dir": "tufted_titmouse",
},
"270": {
"common": "Oak Titmouse",
"scientific": "Baeolophus inornatus",
"dir": "oak_titmouse",
},
"271": {
"common": "Bridled Titmouse",
"scientific": "Baeolophus wollweberi",
"dir": "bridled_titmouse",
},
"272": {
"common": "Black-capped Chickadee",
"scientific": "Poecile atricapillus",
"dir": "black_capped_chickadee",
},
"273": {
"common": "Carolina Chickadee",
"scientific": "Poecile carolinensis",
"dir": "carolina_chickadee",
},
"274": {
"common": "Mountain Chickadee",
"scientific": "Poecile gambeli",
"dir": "mountain_chickadee",
},
"275": {
"common": "Boreal Chickadee",
"scientific": "Poecile hudsonicus",
"dir": "boreal_chickadee",
},
"276": {
"common": "Chestnut-backed Chickadee",
"scientific": "Poecile rufescens",
"dir": "chestnut_backed_chickadee",
},
"277": {
"common": "Canada Warbler",
"scientific": "Cardellina canadensis",
"dir": "canada_warbler",
},
"278": {
"common": "Wilson's Warbler",
"scientific": "Cardellina pusilla",
"dir": "wilsons_warbler",
},
"279": {
"common": "Mourning Warbler",
"scientific": "Geothlypis philadelphia",
"dir": "mourning_warbler",
},
"280": {
"common": "Common Yellowthroat",
"scientific": "Geothlypis trichas",
"dir": "common_yellowthroat",
},
"281": {
"common": "Worm-eating Warbler",
"scientific": "Helmitheros vermivorum",
"dir": "worm_eating_warbler",
},
"282": {
"common": "Yellow-breasted Chat",
"scientific": "Icteria virens",
"dir": "yellow_breasted_chat",
},
"283": {
"common": "Black-and-white Warbler",
"scientific": "Mniotilta varia",
"dir": "black_and_white_warbler",
},
"284": {
"common": "Painted Redstart",
"scientific": "Myioborus pictus",
"dir": "painted_redstart",
},
"285": {
"common": "Connecticut Warbler",
"scientific": "Oporornis agilis",
"dir": "connecticut_warbler",
},
"286": {
"common": "Orange-crowned Warbler",
"scientific": "Oreothlypis celata",
"dir": "orange_crowned_warbler",
},
"287": {
"common": "Tennessee Warbler",
"scientific": "Oreothlypis peregrina",
"dir": "tennessee_warbler",
},
"288": {
"common": "Nashville Warbler",
"scientific": "Oreothlypis ruficapilla",
"dir": "nashville_warbler",
},
"289": {
"common": "Louisiana Waterthrush",
"scientific": "Parkesia motacilla",
"dir": "louisiana_waterthrush",
},
"290": {
"common": "Northern Waterthrush",
"scientific": "Parkesia noveboracensis",
"dir": "northern_waterthrush",
},
"291": {
"common": "Prothonotary Warbler",
"scientific": "Protonotaria citrea",
"dir": "prothonotary_warbler",
},
"292": {
"common": "Ovenbird",
"scientific": "Seiurus aurocapilla",
"dir": "ovenbird",
},
"293": {
"common": "Northern Parula",
"scientific": "Setophaga americana",
"dir": "northern_parula",
},
"294": {
"common": "Black-throated Blue Warbler",
"scientific": "Setophaga caerulescens",
"dir": "black_throated_blue_warbler",
},
"295": {
"common": "Bay-breasted Warbler",
"scientific": "Setophaga castanea",
"dir": "bay_breasted_warbler",
},
"296": {
"common": "Cerulean Warbler",
"scientific": "Setophaga cerulea",
"dir": "cerulean_warbler",
},
"297": {
"common": "Hooded Warbler",
"scientific": "Setophaga citrina",
"dir": "hooded_warbler",
},
"298": {
"common": "Yellow-rumped Warbler",
"scientific": "Setophaga coronata",
"dir": "yellow_rumped_warbler",
},
"299": {
"common": "Prairie Warbler",
"scientific": "Setophaga discolor",
"dir": "prairie_warbler",
},
"300": {
"common": "Yellow-throated Warbler",
"scientific": "Setophaga dominica",
"dir": "yellow_throated_warbler",
},
"301": {
"common": "Blackburnian Warbler",
"scientific": "Setophaga fusca",
"dir": "blackburnian_warbler",
},
"302": {
"common": "Magnolia Warbler",
"scientific": "Setophaga magnolia",
"dir": "magnolia_warbler",
},
"303": {
"common": "Black-throated Gray Warbler",
"scientific": "Setophaga nigrescens",
"dir": "black_throated_gray_warbler",
},
"304": {
"common": "Palm Warbler",
"scientific": "Setophaga palmarum",
"dir": "palm_warbler",
},
"305": {
"common": "Chestnut-sided Warbler",
"scientific": "Setophaga pensylvanica",
"dir": "chestnut_sided_warbler",
},
"306": {
"common": "Yellow Warbler",
"scientific": "Setophaga petechia",
"dir": "yellow_warbler",
},
"307": {
"common": "Pine Warbler",
"scientific": "Setophaga pinus",
"dir": "pine_warbler",
},
"308": {
"common": "American Redstart",
"scientific": "Setophaga ruticilla",
"dir": "american_redstart",
},
"309": {
"common": "Blackpoll Warbler",
"scientific": "Setophaga striata",
"dir": "blackpoll_warbler",
},
"310": {
"common": "Cape May Warbler",
"scientific": "Setophaga tigrina",
"dir": "cape_may_warbler",
},
"311": {
"common": "Townsend's Warbler",
"scientific": "Setophaga townsendi",
"dir": "townsends_warbler",
},
"312": {
"common": "Black-throated Green Warbler",
"scientific": "Setophaga virens",
"dir": "black_throated_green_warbler",
},
"313": {
"common": "Golden-winged Warbler",
"scientific": "Vermivora chrysoptera",
"dir": "golden_winged_warbler",
},
"314": {
"common": "Blue-winged Warbler",
"scientific": "Vermivora cyanoptera",
"dir": "blue_winged_warbler",
},
"315": {
"common": "House Sparrow",
"scientific": "Passer domesticus",
"dir": "house_sparrow",
},
"316": {
"common": "American White Pelican",
"scientific": "Pelecanus erythrorhynchos",
"dir": "american_white_pelican",
},
"317": {
"common": "Brown Pelican",
"scientific": "Pelecanus occidentalis",
"dir": "brown_pelican",
},
"318": {
"common": "Double-crested Cormorant",
"scientific": "Phalacrocorax auritus",
"dir": "double_crested_cormorant",
},
"319": {
"common": "Neotropic Cormorant",
"scientific": "Phalacrocorax brasilianus",
"dir": "neotropic_cormorant",
},
"320": {
"common": "Great Cormorant",
"scientific": "Phalacrocorax carbo",
"dir": "great_cormorant",
},
"321": {
"common": "Brandt's Cormorant",
"scientific": "Phalacrocorax penicillatus",
"dir": "brandts_cormorant",
},
"322": {
"common": "Wild Turkey",
"scientific": "Meleagris gallopavo",
"dir": "wild_turkey",
},
"323": {
"common": "Ring-necked Pheasant",
"scientific": "Phasianus colchicus",
"dir": "ring_necked_pheasant",
},
"324": {
"common": "Ruffed Grouse",
"scientific": "Bonasa umbellus",
"dir": "ruffed_grouse",
},
"325": {
"common": "Greater Sage-Grouse",
"scientific": "Centrocercus urophasianus",
"dir": "greater_sage_grouse",
},
"326": {
"common": "Sooty Grouse",
"scientific": "Dendragapus fuliginosus",
"dir": "sooty_grouse",
},
"327": {
"common": "Dusky Grouse",
"scientific": "Dendragapus obscurus",
"dir": "dusky_grouse",
},
"328": {
"common": "Spruce Grouse",
"scientific": "Falcipennis canadensis",
"dir": "spruce_grouse",
},
"329": {
"common": "Willow Ptarmigan",
"scientific": "Lagopus lagopus",
"dir": "willow_ptarmigan",
},
"330": {
"common": "White-tailed Ptarmigan",
"scientific": "Lagopus leucura",
"dir": "white_tailed_ptarmigan",
},
"331": {
"common": "Rock Ptarmigan",
"scientific": "Lagopus muta",
"dir": "rock_ptarmigan",
},
"332": {
"common": "Greater Prairie-Chicken",
"scientific": "Tympanuchus cupido",
"dir": "greater_prairie_chicken",
},
"333": {
"common": "Sharp-tailed Grouse",
"scientific": "Tympanuchus phasianellus",
"dir": "sharp_tailed_grouse",
},
"334": {
"common": "Northern Flicker",
"scientific": "Colaptes auratus",
"dir": "northern_flicker",
},
"335": {
"common": "Pileated Woodpecker",
"scientific": "Dryocopus pileatus",
"dir": "pileated_woodpecker",
},
"336": {
"common": "Golden-fronted Woodpecker",
"scientific": "Melanerpes aurifrons",
"dir": "golden_fronted_woodpecker",
},
"337": {
"common": "Red-bellied Woodpecker",
"scientific": "Melanerpes carolinus",
"dir": "red_bellied_woodpecker",
},
"338": {
"common": "Red-headed Woodpecker",
"scientific": "Melanerpes erythrocephalus",
"dir": "red_headed_woodpecker",
},
"339": {
"common": "Acorn Woodpecker",
"scientific": "Melanerpes formicivorus",
"dir": "acorn_woodpecker",
},
"340": {
"common": "Lewis's Woodpecker",
"scientific": "Melanerpes lewis",
"dir": "lewiss_woodpecker",
},
"341": {
"common": "Gila Woodpecker",
"scientific": "Melanerpes uropygialis",
"dir": "gila_woodpecker",
},
"342": {
"common": "White-headed Woodpecker",
"scientific": "Picoides albolarvatus",
"dir": "white_headed_woodpecker",
},
"343": {
"common": "Black-backed Woodpecker",
"scientific": "Picoides arcticus",
"dir": "black_backed_woodpecker",
},
"344": {
"common": "Red-cockaded Woodpecker",
"scientific": "Picoides borealis",
"dir": "red_cockaded_woodpecker",
},
"345": {
"common": "American Three-toed Woodpecker",
"scientific": "Picoides dorsalis",
"dir": "american_three_toed_woodpecker",
},
"346": {
"common": "Nuttall's Woodpecker",
"scientific": "Picoides nuttallii",
"dir": "nuttalls_woodpecker",
},
"347": {
"common": "Downy Woodpecker",
"scientific": "Picoides pubescens",
"dir": "downy_woodpecker",
},
"348": {
"common": "Ladder-backed Woodpecker",
"scientific": "Picoides scalaris",
"dir": "ladder_backed_woodpecker",
},
"349": {
"common": "Hairy Woodpecker",
"scientific": "Picoides villosus",
"dir": "hairy_woodpecker",
},
"350": {
"common": "Red-naped Sapsucker",
"scientific": "Sphyrapicus nuchalis",
"dir": "red_naped_sapsucker",
},
"351": {
"common": "Red-breasted Sapsucker",
"scientific": "Sphyrapicus ruber",
"dir": "red_breasted_sapsucker",
},
"352": {
"common": "Williamson's Sapsucker",
"scientific": "Sphyrapicus thyroideus",
"dir": "williamsons_sapsucker",
},
"353": {
"common": "Yellow-bellied Sapsucker",
"scientific": "Sphyrapicus varius",
"dir": "yellow_bellied_sapsucker",
},
"354": {
"common": "Clark's Grebe",
"scientific": "Aechmophorus clarkii",
"dir": "clarks_grebe",
},
"355": {
"common": "Western Grebe",
"scientific": "Aechmophorus occidentalis",
"dir": "western_grebe",
},
"356": {
"common": "Horned Grebe",
"scientific": "Podiceps auritus",
"dir": "horned_grebe",
},
"357": {
"common": "Red-necked Grebe",
"scientific": "Podiceps grisegena",
"dir": "red_necked_grebe",
},
"358": {
"common": "Eared Grebe",
"scientific": "Podiceps nigricollis",
"dir": "eared_grebe",
},
"359": {
"common": "Pied-billed Grebe",
"scientific": "Podilymbus podiceps",
"dir": "pied_billed_grebe",
},
"360": {
"common": "Least Grebe",
"scientific": "Tachybaptus dominicus",
"dir": "least_grebe",
},
"361": {
"common": "Blue-gray Gnatcatcher",
"scientific": "Polioptila caerulea",
"dir": "blue_gray_gnatcatcher",
},
"362": {
"common": "Monk Parakeet",
"scientific": "Myiopsitta monachus",
"dir": "monk_parakeet",
},
"363": {
"common": "Phainopepla",
"scientific": "Phainopepla nitens",
"dir": "phainopepla",
},
"364": {
"common": "American Coot",
"scientific": "Fulica americana",
"dir": "american_coot",
},
"365": {
"common": "Common Gallinule",
"scientific": "Gallinula galeata",
"dir": "common_gallinule",
},
"366": {
"common": "Purple Gallinule",
"scientific": "Porphyrio martinicus",
"dir": "purple_gallinule",
},
"367": {"common": "Sora", "scientific": "Porzana carolina", "dir": "sora"},
"368": {"common": "King Rail", "scientific": "Rallus elegans", "dir": "king_rail"},
"369": {
"common": "Virginia Rail",
"scientific": "Rallus limicola",
"dir": "virginia_rail",
},
"370": {
"common": "Clapper Rail",
"scientific": "Rallus longirostris",
"dir": "clapper_rail",
},
"371": {
"common": "Black-necked Stilt",
"scientific": "Himantopus mexicanus",
"dir": "black_necked_stilt",
},
"372": {
"common": "American Avocet",
"scientific": "Recurvirostra americana",
"dir": "american_avocet",
},
"373": {
"common": "Ruby-crowned Kinglet",
"scientific": "Regulus calendula",
"dir": "ruby_crowned_kinglet",
},
"374": {
"common": "Golden-crowned Kinglet",
"scientific": "Regulus satrapa",
"dir": "golden_crowned_kinglet",
},
"375": {"common": "Verdin", "scientific": "Auriparus flaviceps", "dir": "verdin"},
"376": {
"common": "Red Phalarope",
"scientific": "Phalaropus fulicarius",
"dir": "red_phalarope",
},
"377": {
"common": "Red-necked Phalarope",
"scientific": "Phalaropus lobatus",
"dir": "red_necked_phalarope",
},
"378": {
"common": "Wilson's Phalarope",
"scientific": "Phalaropus tricolor",
"dir": "wilsons_phalarope",
},
"379": {
"common": "Spotted Sandpiper",
"scientific": "Actitis macularius",
"dir": "spotted_sandpiper",
},
"380": {"common": "Surfbird", "scientific": "Aphriza virgata", "dir": "surfbird"},
"381": {
"common": "Ruddy Turnstone",
"scientific": "Arenaria interpres",
"dir": "ruddy_turnstone",
},
"382": {
"common": "Black Turnstone",
"scientific": "Arenaria melanocephala",
"dir": "black_turnstone",
},
"383": {
"common": "Upland Sandpiper",
"scientific": "Bartramia longicauda",
"dir": "upland_sandpiper",
},
"384": {"common": "Sanderling", "scientific": "Calidris alba", "dir": "sanderling"},
"385": {"common": "Dunlin", "scientific": "Calidris alpina", "dir": "dunlin"},
"386": {
"common": "Baird's Sandpiper",
"scientific": "Calidris bairdii",
"dir": "bairds_sandpiper",
},
"387": {"common": "Red Knot", "scientific": "Calidris canutus", "dir": "red_knot"},
"388": {
"common": "White-rumped Sandpiper",
"scientific": "Calidris fuscicollis",
"dir": "white_rumped_sandpiper",
},
"389": {
"common": "Stilt Sandpiper",
"scientific": "Calidris himantopus",
"dir": "stilt_sandpiper",
},
"390": {
"common": "Purple Sandpiper",
"scientific": "Calidris maritima",
"dir": "purple_sandpiper",
},
"391": {
"common": "Western Sandpiper",
"scientific": "Calidris mauri",
"dir": "western_sandpiper",
},
"392": {
"common": "Pectoral Sandpiper",
"scientific": "Calidris melanotos",
"dir": "pectoral_sandpiper",
},
"393": {
"common": "Least Sandpiper",
"scientific": "Calidris minutilla",
"dir": "least_sandpiper",
},
"394": {
"common": "Rock Sandpiper",
"scientific": "Calidris ptilocnemis",
"dir": "rock_sandpiper",
},
"395": {
"common": "Semipalmated Sandpiper",
"scientific": "Calidris pusilla",
"dir": "semipalmated_sandpiper",
},
"396": {
"common": "Wilson's Snipe",
"scientific": "Gallinago delicata",
"dir": "wilsons_snipe",
},
"397": {
"common": "Short-billed Dowitcher",
"scientific": "Limnodromus griseus",
"dir": "short_billed_dowitcher",
},
"398": {
"common": "Long-billed Dowitcher",
"scientific": "Limnodromus scolopaceus",
"dir": "long_billed_dowitcher",
},
"399": {
"common": "Marbled Godwit",
"scientific": "Limosa fedoa",
"dir": "marbled_godwit",
},
"400": {
"common": "Long-billed Curlew",
"scientific": "Numenius americanus",
"dir": "long_billed_curlew",
},
"401": {"common": "Whimbrel", "scientific": "Numenius phaeopus", "dir": "whimbrel"},
"402": {
"common": "American Woodcock",
"scientific": "Scolopax minor",
"dir": "american_woodcock",
},
"403": {
"common": "Lesser Yellowlegs",
"scientific": "Tringa flavipes",
"dir": "lesser_yellowlegs",
},
"404": {
"common": "Wandering Tattler",
"scientific": "Tringa incana",
"dir": "wandering_tattler",
},
"405": {
"common": "Greater Yellowlegs",
"scientific": "Tringa melanoleuca",
"dir": "greater_yellowlegs",
},
"406": {"common": "Willet", "scientific": "Tringa semipalmata", "dir": "willet"},
"407": {
"common": "Solitary Sandpiper",
"scientific": "Tringa solitaria",
"dir": "solitary_sandpiper",
},
"408": {
"common": "Red-breasted Nuthatch",
"scientific": "Sitta canadensis",
"dir": "red_breasted_nuthatch",
},
"409": {
"common": "White-breasted Nuthatch",
"scientific": "Sitta carolinensis",
"dir": "white_breasted_nuthatch",
},
"410": {
"common": "Brown-headed Nuthatch",
"scientific": "Sitta pusilla",
"dir": "brown_headed_nuthatch",
},
"411": {
"common": "Pygmy Nuthatch",
"scientific": "Sitta pygmaea",
"dir": "pygmy_nuthatch",
},
"412": {
"common": "Northern Saw-whet Owl",
"scientific": "Aegolius acadicus",
"dir": "northern_saw_whet_owl",
},
"413": {
"common": "Short-eared Owl",
"scientific": "Asio flammeus",
"dir": "short_eared_owl",
},
"414": {
"common": "Long-eared Owl",
"scientific": "Asio otus",
"dir": "long_eared_owl",
},
"415": {
"common": "Burrowing Owl",
"scientific": "Athene cunicularia",
"dir": "burrowing_owl",
},
"416": {"common": "Snowy Owl", "scientific": "Bubo scandiacus", "dir": "snowy_owl"},
"417": {
"common": "Great Horned Owl",
"scientific": "Bubo virginianus",
"dir": "great_horned_owl",
},
"418": {
"common": "Ferruginous Pygmy-Owl",
"scientific": "Glaucidium brasilianum",
"dir": "ferruginous_pygmy_owl",
},
"419": {
"common": "Eastern Screech-Owl",
"scientific": "Megascops asio",
"dir": "eastern_screech_owl",
},
"420": {
"common": "Western Screech-Owl",
"scientific": "Megascops kennicottii",
"dir": "western_screech_owl",
},
"421": {"common": "Elf Owl", "scientific": "Micrathene whitneyi", "dir": "elf_owl"},
"422": {
"common": "Great Gray Owl",
"scientific": "Strix nebulosa",
"dir": "great_gray_owl",
},
"423": {
"common": "Spotted Owl",
"scientific": "Strix occidentalis",
"dir": "spotted_owl",
},
"424": {"common": "Barred Owl", "scientific": "Strix varia", "dir": "barred_owl"},
"425": {
"common": "Northern Hawk Owl",
"scientific": "Surnia ulula",
"dir": "northern_hawk_owl",
},
"426": {
"common": "European Starling",
"scientific": "Sturnus vulgaris",
"dir": "european_starling",
},
"427": {
"common": "Northern Gannet",
"scientific": "Morus bassanus",
"dir": "northern_gannet",
},
"428": {"common": "Wrentit", "scientific": "Chamaea fasciata", "dir": "wrentit"},
"429": {
"common": "White Ibis",
"scientific": "Eudocimus albus",
"dir": "white_ibis",
},
"430": {
"common": "White-faced Ibis",
"scientific": "Plegadis chihi",
"dir": "white_faced_ibis",
},
"431": {
"common": "Glossy Ibis",
"scientific": "Plegadis falcinellus",
"dir": "glossy_ibis",
},
"432": {
"common": "Black-chinned Hummingbird",
"scientific": "Archilochus alexandri",
"dir": "black_chinned_hummingbird",
},
"433": {
"common": "Ruby-throated Hummingbird",
"scientific": "Archilochus colubris",
"dir": "ruby_throated_hummingbird",
},
"434": {
"common": "Anna's Hummingbird",
"scientific": "Calypte anna",
"dir": "annas_hummingbird",
},
"435": {
"common": "Costa's Hummingbird",
"scientific": "Calypte costae",
"dir": "costas_hummingbird",
},
"436": {
"common": "Broad-billed Hummingbird",
"scientific": "Cynanthus latirostris",
"dir": "broad_billed_hummingbird",
},
"437": {
"common": "Calliope Hummingbird",
"scientific": "Selasphorus calliope",
"dir": "calliope_hummingbird",
},
"438": {
"common": "Broad-tailed Hummingbird",
"scientific": "Selasphorus platycercus",
"dir": "broad_tailed_hummingbird",
},
"439": {
"common": "Rufous Hummingbird",
"scientific": "Selasphorus rufus",
"dir": "rufous_hummingbird",
},
"440": {
"common": "Allen's Hummingbird",
"scientific": "Selasphorus sasin",
"dir": "allens_hummingbird",
},
"441": {
"common": "Cactus Wren",
"scientific": "Campylorhynchus brunneicapillus",
"dir": "cactus_wren",
},
"442": {
"common": "Canyon Wren",
"scientific": "Catherpes mexicanus",
"dir": "canyon_wren",
},
"443": {
"common": "Marsh Wren",
"scientific": "Cistothorus palustris",
"dir": "marsh_wren",
},
"444": {
"common": "Sedge Wren",
"scientific": "Cistothorus platensis",
"dir": "sedge_wren",
},
"445": {
"common": "Rock Wren",
"scientific": "Salpinctes obsoletus",
"dir": "rock_wren",
},
"446": {
"common": "Bewick's Wren",
"scientific": "Thryomanes bewickii",
"dir": "bewicks_wren",
},
"447": {
"common": "Carolina Wren",
"scientific": "Thryothorus ludovicianus",
"dir": "carolina_wren",
},
"448": {
"common": "House Wren",
"scientific": "Troglodytes aedon",
"dir": "house_wren",
},
"449": {
"common": "Winter Wren",
"scientific": "Troglodytes hiemalis",
"dir": "winter_wren",
},
"450": {
"common": "Pacific Wren",
"scientific": "Troglodytes pacificus",
"dir": "pacific_wren",
},
"451": {
"common": "Elegant Trogon",
"scientific": "Trogon elegans",
"dir": "elegant_trogon",
},
"452": {"common": "Veery", "scientific": "Catharus fuscescens", "dir": "veery"},
"453": {
"common": "Hermit Thrush",
"scientific": "Catharus guttatus",
"dir": "hermit_thrush",
},
"454": {
"common": "Gray-cheeked Thrush",
"scientific": "Catharus minimus",
"dir": "gray_cheeked_thrush",
},
"455": {
"common": "Swainson's Thrush",
"scientific": "Catharus ustulatus",
"dir": "swainsons_thrush",
},
"456": {
"common": "Wood Thrush",
"scientific": "Hylocichla mustelina",
"dir": "wood_thrush",
},
"457": {
"common": "Varied Thrush",
"scientific": "Ixoreus naevius",
"dir": "varied_thrush",
},
"458": {
"common": "Townsend's Solitaire",
"scientific": "Myadestes townsendi",
"dir": "townsends_solitaire",
},
"459": {
"common": "Mountain Bluebird",
"scientific": "Sialia currucoides",
"dir": "mountain_bluebird",
},
"460": {
"common": "Western Bluebird",
"scientific": "Sialia mexicana",
"dir": "western_bluebird",
},
"461": {
"common": "Eastern Bluebird",
"scientific": "Sialia sialis",
"dir": "eastern_bluebird",
},
"462": {
"common": "American Robin",
"scientific": "Turdus migratorius",
"dir": "american_robin",
},
"463": {
"common": "Olive-sided Flycatcher",
"scientific": "Contopus cooperi",
"dir": "olive_sided_flycatcher",
},
"464": {
"common": "Western Wood-Pewee",
"scientific": "Contopus sordidulus",
"dir": "western_wood_pewee",
},
"465": {
"common": "Eastern Wood-Pewee",
"scientific": "Contopus virens",
"dir": "eastern_wood_pewee",
},
"466": {
"common": "Alder Flycatcher",
"scientific": "Empidonax alnorum",
"dir": "alder_flycatcher",
},
"467": {
"common": "Pacific-slope Flycatcher",
"scientific": "Empidonax difficilis",
"dir": "pacific_slope_flycatcher",
},
"468": {
"common": "Yellow-bellied Flycatcher",
"scientific": "Empidonax flaviventris",
"dir": "yellow_bellied_flycatcher",
},
"469": {
"common": "Hammond's Flycatcher",
"scientific": "Empidonax hammondii",
"dir": "hammonds_flycatcher",
},
"470": {
"common": "Least Flycatcher",
"scientific": "Empidonax minimus",
"dir": "least_flycatcher",
},
"471": {
"common": "Dusky Flycatcher",
"scientific": "Empidonax oberholseri",
"dir": "dusky_flycatcher",
},
"472": {
"common": "Cordilleran Flycatcher",
"scientific": "Empidonax occidentalis",
"dir": "cordilleran_flycatcher",
},
"473": {
"common": "Willow Flycatcher",
"scientific": "Empidonax traillii",
"dir": "willow_flycatcher",
},
"474": {
"common": "Acadian Flycatcher",
"scientific": "Empidonax virescens",
"dir": "acadian_flycatcher",
},
"475": {
"common": "Gray Flycatcher",
"scientific": "Empidonax wrightii",
"dir": "gray_flycatcher",
},
"476": {
"common": "Vermilion Flycatcher",
"scientific": "Pyrocephalus rubinus",
"dir": "vermilion_flycatcher",
},
"477": {
"common": "Black Phoebe",
"scientific": "Sayornis nigricans",
"dir": "black_phoebe",
},
"478": {
"common": "Eastern Phoebe",
"scientific": "Sayornis phoebe",
"dir": "eastern_phoebe",
},
"479": {
"common": "Say's Phoebe",
"scientific": "Sayornis saya",
"dir": "says_phoebe",
},
"480": {
"common": "Ash-throated Flycatcher",
"scientific": "Myiarchus cinerascens",
"dir": "ash_throated_flycatcher",
},
"481": {
"common": "Great Crested Flycatcher",
"scientific": "Myiarchus crinitus",
"dir": "great_crested_flycatcher",
},
"482": {
"common": "Brown-crested Flycatcher",
"scientific": "Myiarchus tyrannulus",
"dir": "brown_crested_flycatcher",
},
"483": {
"common": "Great Kiskadee",
"scientific": "Pitangus sulphuratus",
"dir": "great_kiskadee",
},
"484": {
"common": "Couch's Kingbird",
"scientific": "Tyrannus couchii",
"dir": "couchs_kingbird",
},
"485": {
"common": "Gray Kingbird",
"scientific": "Tyrannus dominicensis",
"dir": "gray_kingbird",
},
"486": {
"common": "Scissor-tailed Flycatcher",
"scientific": "Tyrannus forficatus",
"dir": "scissor_tailed_flycatcher",
},
"487": {
"common": "Tropical Kingbird",
"scientific": "Tyrannus melancholicus",
"dir": "tropical_kingbird",
},
"488": {
"common": "Eastern Kingbird",
"scientific": "Tyrannus tyrannus",
"dir": "eastern_kingbird",
},
"489": {
"common": "Western Kingbird",
"scientific": "Tyrannus verticalis",
"dir": "western_kingbird",
},
"490": {
"common": "Cassin's Kingbird",
"scientific": "Tyrannus vociferans",
"dir": "cassins_kingbird",
},
"491": {
"common": "Bell's Vireo",
"scientific": "Vireo bellii",
"dir": "bells_vireo",
},
"492": {
"common": "Cassin's Vireo",
"scientific": "Vireo cassinii",
"dir": "cassins_vireo",
},
"493": {
"common": "Yellow-throated Vireo",
"scientific": "Vireo flavifrons",
"dir": "yellow_throated_vireo",
},
"494": {
"common": "Warbling Vireo",
"scientific": "Vireo gilvus",
"dir": "warbling_vireo",
},
"495": {
"common": "White-eyed Vireo",
"scientific": "Vireo griseus",
"dir": "white_eyed_vireo",
},
"496": {
"common": "Hutton's Vireo",
"scientific": "Vireo huttoni",
"dir": "huttons_vireo",
},
"497": {
"common": "Red-eyed Vireo",
"scientific": "Vireo olivaceus",
"dir": "red_eyed_vireo",
},
"498": {
"common": "Philadelphia Vireo",
"scientific": "Vireo philadelphicus",
"dir": "philadelphia_vireo",
},
"499": {
"common": "Plumbeous Vireo",
"scientific": "Vireo plumbeus",
"dir": "plumbeous_vireo",
},
"500": {
"common": "Blue-headed Vireo",
"scientific": "Vireo solitarius",
"dir": "blue_headed_vireo",
},
}
class BirdsnapDataset(datasets.GeneratorBasedBuilder):
"""TODO: Short description of my dataset."""
VERSION = datasets.Version("1.0.0")
def _info(self):
features = datasets.Features(
{
"common": datasets.ClassLabel(
names=[dic["common"] for dic in _ID_TO_ALL.values()]
),
"scientific": datasets.ClassLabel(
names=[dic["scientific"] for dic in _ID_TO_ALL.values()]
),
"image": datasets.Image(),
"url": datasets.Value("string"),
"md5": datasets.Value("string"),
"bb_x1": datasets.Value("int64"),
"bb_y1": datasets.Value("int64"),
"bb_x2": datasets.Value("int64"),
"bb_y2": datasets.Value("int64"),
"back_x": datasets.Value("int64"),
"back_y": datasets.Value("int64"),
"beak_x": datasets.Value("int64"),
"beak_y": datasets.Value("int64"),
"belly_x": datasets.Value("int64"),
"belly_y": datasets.Value("int64"),
"breast_x": datasets.Value("int64"),
"breast_y": datasets.Value("int64"),
"crown_x": datasets.Value("int64"),
"crown_y": datasets.Value("int64"),
"forehead_x": datasets.Value("int64"),
"forehead_y": datasets.Value("int64"),
"left_cheek_x": datasets.Value("int64"),
"left_cheek_y": datasets.Value("int64"),
"left_eye_x": datasets.Value("int64"),
"left_eye_y": datasets.Value("int64"),
"left_leg_x": datasets.Value("int64"),
"left_leg_y": datasets.Value("int64"),
"left_wing_x": datasets.Value("int64"),
"left_wing_y": datasets.Value("int64"),
"nape_x": datasets.Value("int64"),
"nape_y": datasets.Value("int64"),
"right_cheek_x": datasets.Value("int64"),
"right_cheek_y": datasets.Value("int64"),
"right_eye_x": datasets.Value("int64"),
"right_eye_y": datasets.Value("int64"),
"right_leg_x": datasets.Value("int64"),
"right_leg_y": datasets.Value("int64"),
"right_wing_x": datasets.Value("int64"),
"right_wing_y": datasets.Value("int64"),
"tail_x": datasets.Value("int64"),
"tail_y": datasets.Value("int64"),
"throat_x": datasets.Value("int64"),
"throat_y": datasets.Value("int64"),
}
)
return datasets.DatasetInfo(
description=_DESCRIPTION,
features=features,
homepage=_HOMEPAGE,
license=_LICENSE,
citation=_CITATION,
)
def _split_generators(self, dl_manager):
_URL["images"] = [
_URL["images"].format(archive_name=archive_name)
for archive_name in _IMAGES_ARCHIVES
]
data_dir = dl_manager.download_and_extract(_URL)
_URL["images"] = [Path(path) for path in _URL["images"]]
images_dirs = {archive_path.name[:-len(".tar")]: Path(path) / archive_path.name[:-len(".tar")] for path, archive_path in zip(data_dir["images"], _URL["images"])}
annotations_dir = Path(data_dir["annotations"])
with open(annotations_dir / "test_images.txt", "r") as f:
images_test_list = f.readlines()
images_test_list = [
path.strip() for path in images_test_list[1:]
] # 0 is a header
return [
datasets.SplitGenerator(
name=datasets.Split.TRAIN,
gen_kwargs={
"images_dirs": images_dirs,
"annotations_path": annotations_dir / "images.txt",
"images_test_list": images_test_list,
"split": "train",
},
),
datasets.SplitGenerator(
name=datasets.Split.TEST,
gen_kwargs={
"images_dirs": images_dirs,
"annotations_path": annotations_dir / "images.txt",
"images_test_list": images_test_list,
"split": "test",
},
),
]
def _generate_examples(self, images_dirs, annotations_path, images_test_list, split):
with open(annotations_path, "r") as f:
annotations_merged_per_ex = f.readlines()
for annotation_merged in annotations_merged_per_ex[1:]:
(
url,
md5,
path,
species_id,
bb_x1,
bb_y1,
bb_x2,
bb_y2,
back_x,
back_y,
beak_x,
beak_y,
belly_x,
belly_y,
breast_x,
breast_y,
crown_x,
crown_y,
forehead_x,
forehead_y,
left_cheek_x,
left_cheek_y,
left_eye_x,
left_eye_y,
left_leg_x,
left_leg_y,
left_wing_x,
left_wing_y,
nape_x,
nape_y,
right_cheek_x,
right_cheek_y,
right_eye_x,
right_eye_y,
right_leg_x,
right_leg_y,
right_wing_x,
right_wing_y,
tail_x,
tail_y,
throat_x,
throat_y,
) = annotation_merged.split("\t")
class_folder_name, image_name = path.split("/")
if not class_folder_name in images_dirs or not (images_dirs[class_folder_name] / image_name).is_file():
continue
elif split == "train" and path in images_test_list:
continue
elif split == "test" and path not in images_test_list:
continue
record = {
"image": str(images_dirs[class_folder_name] / image_name),
"common": _ID_TO_ALL[species_id]["common"],
"scientific": _ID_TO_ALL[species_id]["scientific"],
"url": url,
"md5": md5,
"bb_x1": to_int(bb_x1),
"bb_y1": to_int(bb_y1),
"bb_x2": to_int(bb_x2),
"bb_y2": to_int(bb_y2),
"back_x": to_int(back_x),
"back_y": to_int(back_y),
"beak_x": to_int(beak_x),
"beak_y": to_int(beak_y),
"belly_x": to_int(belly_x),
"belly_y": to_int(belly_y),
"breast_x": to_int(breast_x),
"breast_y": to_int(breast_y),
"crown_x": to_int(crown_x),
"crown_y": to_int(crown_y),
"forehead_x": to_int(forehead_x),
"forehead_y": to_int(forehead_y),
"left_cheek_x": to_int(left_cheek_x),
"left_cheek_y": to_int(left_cheek_y),
"left_eye_x": to_int(left_eye_x),
"left_eye_y": to_int(left_eye_y),
"left_leg_x": to_int(left_leg_x),
"left_leg_y": to_int(left_leg_y),
"left_wing_x": to_int(left_wing_x),
"left_wing_y": to_int(left_wing_y),
"nape_x": to_int(nape_x),
"nape_y": to_int(nape_y),
"right_cheek_x": to_int(right_cheek_x),
"right_cheek_y": to_int(right_cheek_y),
"right_eye_x": to_int(right_eye_x),
"right_eye_y": to_int(right_eye_y),
"right_leg_x": to_int(right_leg_x),
"right_leg_y": to_int(right_leg_y),
"right_wing_x": to_int(right_wing_x),
"right_wing_y": to_int(right_wing_y),
"tail_x": to_int(tail_x),
"tail_y": to_int(tail_y),
"throat_x": to_int(throat_x),
"throat_y": to_int(throat_y.strip()),
}
yield path, record
def to_int(text):
return int(text) if text != "null" else None