The ObjectInspect
class provides core functionality for this module.
If True, inference call is run on the local VM, else offloaded onto GRID-Cortex. Defaults to True.
This model is currently not available via Cortex.
from grid.model.navigation.objectinspection import ObjectInspect
car = AirGenCar()
# We will be capturing an image from the AirGen simulator
# and run model inference on it.
img = car.getImage("front_center", "rgb").data
model = ObjectInspect(use_local = True)
result = model.run(rgbimage=img)
print(result.shape)
This code is licensed under the Apache 2.0 License.