{"id":15716984,"url":"https://github.com/cjpatton/salamander","last_synced_at":"2025-07-22T23:34:08.144Z","repository":{"id":6937631,"uuid":"8189106","full_name":"cjpatton/salamander","owner":"cjpatton","description":"Salamander is an image processing application based on OpenCV for filtering field cameras. These programs detect when targets appear and filters the video feed as long as they remain in frame. ","archived":false,"fork":false,"pushed_at":"2013-04-23T16:17:03.000Z","size":10768,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-15T09:35:42.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cjpatton.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-13T22:21:04.000Z","updated_at":"2017-06-03T20:28:13.000Z","dependencies_parsed_at":"2022-09-18T18:17:26.639Z","dependency_job_id":null,"html_url":"https://github.com/cjpatton/salamander","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cjpatton/salamander","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjpatton%2Fsalamander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjpatton%2Fsalamander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjpatton%2Fsalamander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjpatton%2Fsalamander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cjpatton","download_url":"https://codeload.github.com/cjpatton/salamander/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjpatton%2Fsalamander/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266590619,"owners_count":23952971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T21:48:24.045Z","updated_at":"2025-07-22T23:34:08.124Z","avatar_url":"https://github.com/cjpatton.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Christopher Patton\nJohn Muir Institute for the Environment\nUniversity of California, Davis\n\nThis directory contains the source code for the Salamander image processing \nproject. The purpose of this code is to detect and track a target in a raw\nvideo stream. This applies to surveillance footage of animals in their natural \nhabitats, eg. mice, rats, or salamanders. \n\nFiles\n-----\nsegment.cpp           -- current top level program. \ndetect.cpp            -- working on more sophisticated detetion scheme\nfilter.cpp            -- apply filters to a series of images\nbinary_threshold.cpp  -- binthresh\nbinary_morphology.cpp -- binmorph\nCMakeLists.txt        -- for cmake \nsalamander.{cpp,h}    -- library implementation of the image processing\n{blobs,chunk,files}.{cpp,h} -- various data structures for detection and video \n                               segmenting\nex                    -- some example footage for trying these programs\n\n\nInstallation\n------------\nThis code is written in C++ for OpenCV (opencv.org).\n\n $ mkdir build \u0026\u0026 cd build\n $ cmake ../\n $ make \n $ sudo make install\n\nThis will produce a shared library called \"libsalamander.so\" as well as \nfour executable programs. The purpose of these programs is described in detail\nin the code: \n\n binthresh,\n binmorph,\n segment,\n filter, and\n detect.\n\n\nUsage\n-----\nAll five programs take a list of JPEG files corresponding to a video stream\non standard input. binmoroph and binthresh apply image processing filters \nand output the result.\n\n $ ls *.jpg \u003e raw\n $ filter -t 20 60 -m 1 10 -s 2 \u003c raw\n\nThe first two arguments refer to the erosion and dilation factors (binary \nmorphology) respectively. The second two are optional and specify the range for\nthe binary threshold. The other programs can be run similarly:\n \n $ binthresh 40 60 \u003c raw\n $ binmorph 2 20 \u003c raw\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjpatton%2Fsalamander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcjpatton%2Fsalamander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjpatton%2Fsalamander/lists"}