Hi
Am trying to run my-detection.py as per below example, using CSI Camera
import jetson.inference
import jetson.utils
net = jetson.inference.detectNet(“ssd-mobilenet-v2”, threshold=0.5)
camera = jetson.utils.gstCamera(1280, 720, “0”)
display = jetson.utils.glDisplay()
while display.IsOpen():
img, width, height = camera.CaptureRGBA()
detections = net.Detect(img, width, height)
display.RenderOnce(img, width, height)
display.SetTitle(“Object Detection | Network {:.0f} FPS”.format(net.GetNetworkFPS())
The image opens but immediately the camera closes with below message :
ATTRIBUTE ERROR : JETSON.INFERENCE.DETECTNET- OBJECT HAS NO ATTRIBUTE “GETNETWORK…”
LAST LINE
POWERSERVICEHWVIC::CLEANUPRESOURCES
KINDLY SUGGEST - THANKS