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.
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)
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)