Giter Club home page Giter Club logo

camvidlog's Introduction

CamVidLog

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install camvidlog

This requires several large (>100MB each) external data files:

wget https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8x-oiv7.pt -O src/camvidlog/data/yolov8x-oiv7.pt
wget https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8x-cls.pt -O src/camvidlog/data/yolov8x-cls.pt

Execution

Start the web application:

hatch run shiny run -d src/camvidlog

Load a single video:

hatch run python src/camvidlog/run/load.py FILENAME

Load multiple videos:

find data -name "*.MP4" -print0 | time xargs -0 hatch run python src/camvidlog/run/load.py

Note - in theory, should be able to do this in a single python process. However, PyTorch seems to run out of GPU memory if its run that way currently.

Development

Run linting checks etc with:

hatch -e lint run all

License

camvidlog is distributed under the terms of the MIT license.

Blog

Image enhancement

The primary source is a trail camera that has an infrared light. This tends to produce images that are well or over-lit in the centre, and under-lit at the edges. So the idea was that by enhancing the source image, the matches would be better. After all, this works for humans.

In practice, this does not work. We can do nice contrast balancing, and it works well in thumbnail generation, but the image detection seems to become worse rather than better.

Difficult animals

One of the more challenging animals seems to be hedgehogs. It might be because these are particularly small relative to the entire image. 20231120033202_VD_00336.MP4 is an example of a hedgehog. Foxes are also something that are often missing from AI training datasets and an example is data/20231121002042_VD_00342.MP4

camvidlog's People

Contributors

afaulconbridge avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.