Check the number of crowns included in each image
Source:R/check_availableCrowns.R
check_availableCrowns.RdAs the extend of images can changed from one image to another, this function return the number of crowns included in each image and the vector of the id contained for each id.
Arguments
- path_bbox
The path to the non NA Bbox return by the function
extract_bboxImages()- crownsFile
sf objectfor the crowns with an 'id' variable.- dates
chr. Vector with dates (format should be '%Y%m%d', p.e '20220925'). The order of the dates should match with the order of the dates of the image in the path_bbox