Note: Mentioning this again to avoid any unintended behavior(however, I dont think any issue will happen). Instead of coverting recursion to simple iteration, I went with setting annotation id to max of annotation ids in image +1. This helped a lot speed up of code, probably due to faster in-built max function implementation.
This PR fixes #33 .
Note: Mentioning this again to avoid any unintended behavior(however, I dont think any issue will happen). Instead of coverting recursion to simple iteration, I went with setting annotation id to max of annotation ids in image +1. This helped a lot speed up of code, probably due to faster in-built max function implementation.