DeepForest icon indicating copy to clipboard operation
DeepForest copied to clipboard

Shapefile_to_annotations from example not working as 'box_points' and 'buffer_size' args. aren't defined in repo.

Open j-la-haye opened this issue 1 year ago • 0 comments

Describe the bug shapefile_to_annotations shown on bird_detector example does not have the shown arguments: 'box_points' and 'buffer_size'

Does the method just need to updated on the Git repo?

To Reproduce df = shapefile_to_annotations( shapefile="annotations.shp", rgb="image_path", box_points=True, buffer_size=0.15 )

The call fails because deepforest.utilities.shapefile_to_annotations does not have the 'box_points' and 'buffer_size' args. defined.

Environment (please complete the following information):

  • OS: Mac Osx
  • Python version and environment : 3.9

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

j-la-haye avatar Oct 10 '22 13:10 j-la-haye