HUB
Sign inSign up

phytooracle/rgb_drone_canopy_cover

By phytooracle

•Updated almost 4 years ago

Image
0

321

phytooracle/rgb_drone_canopy_cover repository overview

⁠rgb_drone_canopy_cover

⁠How to Run Using Docker:

docker run -v $PWD:/home phytooracle/rgb_drone_canopy_cover -y /home/{NAME_OF_YAML} -v
⁠NOTE:

The yaml file should be in the working directory if the above command is used, otherwise provide the relative path of the yaml file form current working directory.

⁠Expected Structure of the Directories

Directory structure for the dates directory should be as follows:

{dates_dir}
├── {date1}
│   ├── {tif1}
├── {date2}
│   ├── {tif2}
...
⁠NOTE:

Since the code uses the datetime library to get the date of the scan, all dates should be in the format YYYY-MM-DD.

⁠YAML File

⁠Files

Files are used to indicate the path to required files.

  • [files]
    • [dates_dir] | The path to the directory that containes all the directories from different scan dates
    • [geojson_path] | The path to the geojson file
    • [plots_dir_name] | The name of the directory for the plots to be saved in
    • [csv_name] | The name of the output csv file
⁠Tif info

Information about the TIF files.

  • [tif_info]
    • [common_espg] | The common ESPG to be used
⁠Image correction

Used when there needs to be image correction done

  • [image_correction]
    • [image_rotated] | set to True if images need to be set straight, False if not
⁠Color

Color information for masking

  • [color]
    • [lower] | lower bound of the hsv value for green, should be in array format, ex. [0, 0, 0]
    • [upper] | upper bound of the hsv value for green, should be in array format, ex. [0, 0, 0]

⁠Command line arguments

  • Required
    • -y, --yaml | YAML file to use for processing
  • Optional
    • -v, --verbose | Turn on verbose mode to print to stdout while processing

Tag summary

Content type

Image

Digest

sha256:825098525…

Size

883.5 MB

Last updated

almost 4 years ago

docker pull phytooracle/rgb_drone_canopy_cover