How do you grab the cylinder's mesh data using python?
Here is the code that made everything work

Getting the mesh data from the model:

ob = bpy.data.objects['Cylinder']
verts = [verts.co for vert in ob.data.vertices]


Getting the location and rotation data from camera:

camera_location = np.round( list( bpy.data.objects['Camera'].location ), 3)
camera_rotation = np.round( list( bpy.data.objects['Camera'].rotation_euler ), 3)


I had to use numpy "np" to round down the outputs, I did the same thing for verts.