Skip to content
Back to formatted view

Raw Message

Message-ID: <CAM_vjuk90dRWg0ddML+tvuK1dExZe8ky=qGiK8xEAftV7H3kkA@mail.gmail.com>
Date: 2021-01-04T18:15:20Z
From: Sarah Goslee
Subject: Question for R-sig-ecology
In-Reply-To: <CAFkctWobcd69MP0-ny9twm+U8_DQ42CZRzyiGH=FnmCuayG1Ow@mail.gmail.com>

Hi,

I'm not sure you even need image classification.

Use list.files() to get the image filenames.
Read the image into R.
Discard it if the pixel values have a very low variance, indicating
that they didn't detect anything (or are mostly black? depending on
what your camera records when covered in snow).

There are R packages such as jpg and tiff that allow you to read
common image formats into R.

Sarah

On Mon, Jan 4, 2021 at 11:02 AM Anshika Kulshrestha
<akulshrestha22 at gmail.com> wrote:
>
> Hello everyone,
>
> I have limited experience with R and have only been using it for GIS tasks.
> Now I have data from camera traps which take pictures when there is some
> movement and at the specific time of the day everyday. What I am planning
> to with this data is rather simple, I just want my script to identify the
> images where the lens was covered in snow and couldn't capture anything and
> eliminate those images. I think I am not able to look for the right
> material to read, since with all the research I did till now, I can only
> find blur image detection which is not exactly what I am looking for.
>
> I would really appreciate it if anyone can help with what exactly I should
> be reading to learn this.
>
> Thank you
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology



-- 
Sarah Goslee (she/her)
http://www.numberwright.com