from grid.model.navigation.objectinspection import ObjectInspectcar = AirGenCar()# We will be capturing an image from the AirGen simulator # and run model inference on it.img = car.getImage("front_center", "rgb").datamodel = ObjectInspect(use_local = True)result = model.run(rgbimage=img)print(result.shape)
The ObjectInspect class provides core functionality for this module.
from grid.model.navigation.objectinspection import ObjectInspectcar = AirGenCar()# We will be capturing an image from the AirGen simulator # and run model inference on it.img = car.getImage("front_center", "rgb").datamodel = ObjectInspect(use_local = True)result = model.run(rgbimage=img)print(result.shape)
This code is licensed under the Apache 2.0 License.
from grid.model.navigation.objectinspection import ObjectInspectcar = AirGenCar()# We will be capturing an image from the AirGen simulator # and run model inference on it.img = car.getImage("front_center", "rgb").datamodel = ObjectInspect(use_local = True)result = model.run(rgbimage=img)print(result.shape)
Assistant
Responses are generated using AI and may contain mistakes.