Need blender script for automation

I have a project that needs the following:

  1. Create a script for Blender
  2. Script creation of a render
  3. Create the annotation image (flatview)
  4. Bounding box of each object in the final render - this needs to computed based on how the final renders come out
  5. We need orientation relative to the camera. A point at the top center and the bottom center and that point that goes through those two points
  6. We need a depth map of the object
  7. Data written out to a json file
  8. We have sample code for 2.7, not 2.8 for most of this.

We would want to expand this but this is the first step.

Budget is flexible.