[R-sig-eco] Question for R-sig-ecology

Sarah Goslee @@r@h@go@|ee @end|ng |rom gm@||@com
Mon Jan 4 19:15:20 CET 2021


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 using 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 using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology



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



More information about the R-sig-ecology mailing list