gamecam
Filter out trail-camera images that don't contain an animal (eventually will be able to label exported images as well).
Motivation
While working for the Francis Ecology Lab, a problem was presented to me. In 2018, there were 800,000+ remote camera images collected for a single experiment. The majority turned out to be false triggers - photos of grass and bushes swaying.
Instead of going through them one by one, I developed this program. Once coded, it only took a week to generate a data table with all the images that contained animals, labeled to genus or species, and that had detection numbers corresponding to one of two common schemes. The data table can be converted into observational units of detections instead of individual images.
Installation
Use the package manager pip to install gamecam.
pip install gamecam-sdrabing
Usage
from gamecam import pyrcolate as pyr
# creates data table from folder
jpg_data = pyr.construct_jpg_data(pyr.input_directory())
# Cam objects store all relevant metadata
cam = pyr.Cam(jpg_data)
help(Cam.plot) # shows quick-guide for key bindings
cam.plot() # interactive plot for image filtering
cam.save(pyr.input_filename()) # creates a .sav file that can be loaded
cam.export(pyr.input_directory()) # exports images and a .csv file to folder
To-Do
Finish gamecam.classipy, which will allow for rapid labeling of exported images.
Contributing
This is my first project, so I have no idea what I'm doing. If you have suggestions or tips, please tell me!
License
MIT © Shane Drabing 2019
Metadata
Release files for gamecam-sdrabing 0.8.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gamecam-sdrabing-0.8.3.tar.gz | 15.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gamecam_sdrabing-0.8.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.2 kB
Release files / gamecam-sdrabing-0.8.3.tar.gz
| Download URL | gamecam-sdrabing-0.8.3.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16b0deb7f6ee6699a5f0716920c00cab475b82b6c385972721a3434da8e7ce76
|
|
BLAKE2b-256 checksum How to use checksums |
1b3f05b32517c1efa50da087ff2418c2cf5d49280b14e289d79f4b292e757b50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / gamecam_sdrabing-0.8.3-py3-none-any.whl
| Download URL | gamecam_sdrabing-0.8.3-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35efbabb113db0595169107b236f107d69b6717f4438b197dfbc101a076d7fa0
|
|
BLAKE2b-256 checksum How to use checksums |
4213c5bb0004135be99df1dc7e2aea858825e99c43b375516f2b2d3c1615367f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|