Can imagenet-camera link with IP camera?

Hi,

I am trying to build an application with jetson tx2 using IP camera. I know that it can work with USB camera with imagenet-camera. However, can it work with an IP camera?

Pardon of my English

Hi,

We don’t have too much experience on IP camera.
But we have users successfully enabled it before.

Basically, it can be implemented via changing the GStreamer input source to rtspsrc.
https://github.com/dusty-nv/jetson-inference/blob/master/util/camera/gstCamera.cpp#L343

Thanks.

I’ve shared a python script to do exactly that in my blog post “How to Capture Camera Video and Do Caffe Inferencing with Python on Jetson TX2”: https://jkjung-avt.github.io/tx2-camera-caffe/. Welcome to check it out.

The script can take IP CAM inputs by, for example,

$ python3 tegra-cam-caffe.py --rtsp --uri rtsp://admin:XXXXXX@192.168.1.64:554

Hi jkjung13!

Sorry for the late reply and thanks for the link! Manage to run it.

Hi,

Can Jetson tx2 pipe to UDP instead of rtsp source?

Hi,

Ideally, you can modify the GStreamer pipeline to udpsrc with the pipeline mentioned here:
https://developer.ridgerun.com/wiki/index.php?title=Gstreamer_pipelines_for_Tegra_X2#H264_UDP_Streaming

Thanks.

Hi Aastalll,

I manage to open the UDP video live feed using gst-launcg-1.0. However, when I put inside gstCamera.cpp and build it. It shows gstreamer decoder failed to create pipeline and failed to init gstCamera. Below is the pipeline that I use:

bool gstCamera::buildLaunchStr()
{
	std::ostringstream ss;
	//open ip camera
	ss << " udpsrc port=15004 !";
	ss << " application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse !"; 
	ss << " queue ! avdec_h264 ! xvimagesink sync=false async=false -e";

	mLaunchStr = ss.str();
	printf(LOG_GSTREAMER "gstreamer decoder pipeline string:\n");
	printf("%s\n", mLaunchStr.c_str());
	return true;
}

Hi,

Could you test GStreamer pipeline on the console first?
Thanks.

Hi,

I have tried on console below is the result:

nvidia@tegra-ubuntu:~$ gst-launch-1.0 udpsrc port=15004 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! queue ! avdec_h264 ! xvimagesink sync=false async=false -e
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

It works fine, but when I put it in to gstCamera.cpp as above the error is:

nvidia@tegra-ubuntu:~/jetson-inference/build/aarch64/bin$ ./gst-camera gst-camera 
gst-camera
  args (2):  0 [./gst-camera]  1 [gst-camera]  
[gstreamer] initialized gstreamer, version 1.8.3.0
[gstreamer] gstreamer decoder failed to create pipeline
[gstreamer]    (syntax error)
[gstreamer] failed to init gstCamera

gst-camera:  failed to initialize video device

Hi Aastalll,

For the issue is it due to GST_PLUGIN_PATH pointing towards the wrong folder? How can I check if it is pointing towards the wrong folder?

Thanks!

Hi Aasta,

I manage to stream the video using gst-camera. However, when I use detectnet-camera it shows that it failed to capture frame and convert from NV12 to RGBA. Below is the error message that i got:

detectnet-camera:  failed to capture frame
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228

Sorry for the trouble and thank you very much!

Hi,

Could you try this command:

ss << "udpsrc port=15004 !";
ss << " application/x-rtp,encoding-name=H264,payload=96 ! decodebin ! nvvidconv !";
ss << " video/x-raw,format=(string)NV12,width=(int)" << mWidth << ", height=(int)" << mHeight << ",fFramerate=30/1 !";
ss << " appsink name=mysink ";

Thanks.

Hi aasta,

I tried that command the error message still remain the same:

detectnet-camera:  failed to capture frame
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228

Thanks!

Hi aasta,

I added rtph264depay and h264parse and gotten the first frame but it would just stuck at there. This is the comment that I used:

ss << "udpsrc port=15004" ! ";
		ss << " application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! decodebin ! nvvidconv !";
		ss << " video/x-raw,format=(string)NV12,width=(int)" << mWidth << ", height=(int)" << mHeight << ",fFramerate=30/1 !";
		ss << " appsink name=mysink ";

I run it using gst-launch-1.0, I did not get any video feed but it did not give any error message:

nvidia@tegra-ubuntu:~$ gst-launch-1.0 udpsrc port=15004 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! decodebin ! nvvidconv ! video/x-raw,format=NV12,width=640,height=640,fFramerate=30/1 ! appsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
NvMMLiteOpen : Block : BlockType = 261 
TVMR: NvMMLiteTVMRDecBlockOpen: 7907: NvMMLiteBlockOpen 
NvMMLiteBlockCreate : Block : BlockType = 261 
TVMR: cbBeginSequence: 1223: BeginSequence  768x576, bVPR = 0
TVMR: LowCorner Frequency = 100000 
TVMR: cbBeginSequence: 1622: DecodeBuffers = 2, pnvsi->eCodec = 4, codec = 0 
TVMR: cbBeginSequence: 1693: Display Resolution : (768x576) 
TVMR: cbBeginSequence: 1694: Display Aspect Ratio : (768x576) 
TVMR: cbBeginSequence: 1762: ColorFormat : 5 
TVMR: cbBeginSequence:1776 ColorSpace = NvColorSpace_YCbCr601
TVMR: cbBeginSequence: 1904: SurfaceLayout = 3
TVMR: cbBeginSequence: 2005: NumOfSurfaces = 9, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1, BitDepthForSurface = 8 LumaBitDepth = 8, ChromaBitDepth = 8, ChromaFormat = 5
TVMR: cbBeginSequence: 2007: BeginSequence  ColorPrimaries = 2, TransferCharacteristics = 2, MatrixCoefficients = 2
Allocating new output: 768x576 (x 9), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3464: Send OMX_EventPortSettingsChanged : nFrameWidth = 768, nFrameHeight = 576 
TVMR: FrameRate = 34 
TVMR: NVDEC LowCorner Freq = (113333 * 1024) 
---> TVMR: Video-conferencing detected !!!!!!!!!
TVMR: FrameRate = 25.032542 
TVMR: FrameRate = 25.006064 
TVMR: FrameRate = 25.004626 
TVMR: FrameRate = 24.993939 
TVMR: FrameRate = 24.999063 
TVMR: FrameRate = 25.007752 
TVMR: FrameRate = 24.991753 
TVMR: FrameRate = 25.012694 
TVMR: FrameRate = 24.629753 
TVMR: FrameRate = 25.014634

This is the message I gotten after depolying detectnet-camera:

nvidia@tegra-ubuntu:~/jetson-inference/build/aarch64/bin$ ./detectnet-camera 
detectnet-camera
  args (1):  0 [./detectnet-camera]  

[gstreamer] initialized gstreamer, version 1.8.3.0
[gstreamer] gstreamer decoder pipeline string:
udpsrc port=15004 !  application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! decodebin ! nvvidconv ! video/x-raw,format=(string)NV12,width=(int)1280, height=(int)720,fFramerate=30/1 ! appsink name=mysink 

detectnet-camera:  successfully initialized video device
    width:  1280
   height:  720
    depth:  24 (bpp)

detectNet -- loading detection network model from:
          -- prototxt    networks/ped-100/deploy.prototxt
          -- model       networks/ped-100/snapshot_iter_70800.caffemodel
          -- input_blob  'data'
          -- output_cvg  'coverage'
          -- output_bbox 'bboxes'
          -- mean_pixel  0.000000
          -- threshold   0.500000
          -- batch_size  2

[GIE]  attempting to open cache file networks/ped-100/snapshot_iter_70800.caffemodel.2.tensorcache
[GIE]  loading network profile from cache... networks/ped-100/snapshot_iter_70800.caffemodel.2.tensorcache
[GIE]  platform has FP16 support.
[GIE]  networks/ped-100/snapshot_iter_70800.caffemodel loaded
[GIE]  CUDA engine context initialized with 3 bindings
[GIE]  networks/ped-100/snapshot_iter_70800.caffemodel input  binding index:  0
[GIE]  networks/ped-100/snapshot_iter_70800.caffemodel input  dims (b=2 c=3 h=512 w=1024) size=12582912
[cuda]  cudaAllocMapped 12582912 bytes, CPU 0x102a00000 GPU 0x102a00000
[GIE]  networks/ped-100/snapshot_iter_70800.caffemodel output 0 coverage  binding index:  1
[GIE]  networks/ped-100/snapshot_iter_70800.caffemodel output 0 coverage  dims (b=2 c=1 h=32 w=64) size=16384
[cuda]  cudaAllocMapped 16384 bytes, CPU 0x103600000 GPU 0x103600000
[GIE]  networks/ped-100/snapshot_iter_70800.caffemodel output 1 bboxes  binding index:  2
[GIE]  networks/ped-100/snapshot_iter_70800.caffemodel output 1 bboxes  dims (b=2 c=4 h=32 w=64) size=65536
[cuda]  cudaAllocMapped 65536 bytes, CPU 0x103800000 GPU 0x103800000
networks/ped-100/snapshot_iter_70800.caffemodel initialized.
[cuda]  cudaAllocMapped 16 bytes, CPU 0x103a00000 GPU 0x103a00000
maximum bounding boxes:  8192
[cuda]  cudaAllocMapped 131072 bytes, CPU 0x103c00000 GPU 0x103c00000
[cuda]  cudaAllocMapped 32768 bytes, CPU 0x103810000 GPU 0x103810000
default X screen 0:   2560 x 1440
[OpenGL]  glDisplay display window initialized
[OpenGL]   creating 1280x720 texture
loaded image  fontmapA.png  (256 x 512)  2097152 bytes
[cuda]  cudaAllocMapped 2097152 bytes, CPU 0x103e00000 GPU 0x103e00000
[cuda]  cudaAllocMapped 8192 bytes, CPU 0x103604000 GPU 0x103604000
[gstreamer] gstreamer transitioning pipeline to GST_STATE_PLAYING
[gstreamer] gstreamer changed state from NULL to READY ==> mysink
[gstreamer] gstreamer changed state from NULL to READY ==> capsfilter1
[gstreamer] gstreamer changed state from NULL to READY ==> nvvconv0
[gstreamer] gstreamer changed state from NULL to READY ==> typefind
[gstreamer] gstreamer changed state from NULL to READY ==> decodebin0
[gstreamer] gstreamer changed state from NULL to READY ==> h264parse0
[gstreamer] gstreamer changed state from NULL to READY ==> rtph264depay0
[gstreamer] gstreamer changed state from NULL to READY ==> capsfilter0
[gstreamer] gstreamer changed state from NULL to READY ==> udpsrc0
[gstreamer] gstreamer changed state from NULL to READY ==> pipeline0
[gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter1
[gstreamer] gstreamer changed state from READY to PAUSED ==> nvvconv0
[gstreamer] gstreamer changed state from READY to PAUSED ==> typefind
[gstreamer] gstreamer changed state from READY to PAUSED ==> h264parse0
[gstreamer] gstreamer changed state from READY to PAUSED ==> rtph264depay0
[gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter0
[gstreamer] gstreamer stream status CREATE ==> src
[gstreamer] gstreamer changed state from READY to PAUSED ==> udpsrc0
[gstreamer] gstreamer changed state from READY to PAUSED ==> pipeline0
[gstreamer] gstreamer stream status ENTER ==> src
[gstreamer] gstreamer msg new-clock ==> pipeline0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvvconv0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> h264parse0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> rtph264depay0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> udpsrc0

detectnet-camera:  camera open for streaming

detectnet-camera:  failed to capture frame
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   registered 14745600 byte openGL texture for interop access (1280x720)
NvMMLiteOpen : Block : BlockType = 261 
TVMR: NvMMLiteTVMRDecBlockOpen: 7907: NvMMLiteBlockOpen 
NvMMLiteBlockCreate : Block : BlockType = 261 
TVMR: cbBeginSequence: 1223: BeginSequence  768x576, bVPR = 0
TVMR: LowCorner Frequency = 100000 
TVMR: cbBeginSequence: 1622: DecodeBuffers = 2, pnvsi->eCodec = 4, codec = 0 
TVMR: cbBeginSequence: 1693: Display Resolution : (768x576) 
TVMR: cbBeginSequence: 1694: Display Aspect Ratio : (768x576) 
TVMR: cbBeginSequence: 1762: ColorFormat : 5 
TVMR: cbBeginSequence:1776 ColorSpace = NvColorSpace_YCbCr601
TVMR: cbBeginSequence: 1904: SurfaceLayout = 3
TVMR: cbBeginSequence: 2005: NumOfSurfaces = 9, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1, BitDepthForSurface = 8 LumaBitDepth = 8, ChromaBitDepth = 8, ChromaFormat = 5
TVMR: cbBeginSequence: 2007: BeginSequence  ColorPrimaries = 2, TransferCharacteristics = 2, MatrixCoefficients = 2
Allocating new output: 768x576 (x 9), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3464: Send OMX_EventPortSettingsChanged : nFrameWidth = 768, nFrameHeight = 576 
[gstreamer] gstreamer decoder onPreroll
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x105200000 GPU 0x105200000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x105400000 GPU 0x105400000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x105600000 GPU 0x105600000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x105800000 GPU 0x105800000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x105a00000 GPU 0x105a00000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x105c00000 GPU 0x105c00000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x105e00000 GPU 0x105e00000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x106000000 GPU 0x106000000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x106200000 GPU 0x106200000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x106400000 GPU 0x106400000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x106600000 GPU 0x106600000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x106800000 GPU 0x106800000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x106a00000 GPU 0x106a00000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x106c00000 GPU 0x106c00000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x106e00000 GPU 0x106e00000
[cuda]  cudaAllocMapped 1382400 bytes, CPU 0x107000000 GPU 0x107000000
[cuda]   gstreamer camera -- allocated 16 ringbuffers, 1382400 bytes each
[gstreamer] gstreamer changed state from NULL to READY ==> h264parse1
[gstreamer] gstreamer changed state from READY to PAUSED ==> h264parse1
[gstreamer] gstreamer changed state from NULL to READY ==> omxh264dec-omxh264dec0
[gstreamer] gstreamer changed state from READY to PAUSED ==> omxh264dec-omxh264dec0
[gstreamer] gstreamer stream status CREATE ==> src
[gstreamer] gstreamer stream status ENTER ==> src
[gstreamer] gstreamer changed state from READY to PAUSED ==> decodebin0
[gstreamer] gstreamer msg stream-start ==> pipeline0
[gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ \(Baseline\ Profile\)";
[gstreamer] gstreamer mysink taglist, video-codec=(string)"H.264\ \(Baseline\ Profile\)";
[gstreamer] gstreamer changed state from READY to PAUSED ==> mysink
[gstreamer] gstreamer msg async-done ==> pipeline0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> mysink
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> omxh264dec-omxh264dec0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter2
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> h264parse1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> typefind
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> decodebin0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> pipeline0
[cuda]   gstreamer camera -- allocated 16 RGBA ringbuffers
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
TVMR: FrameRate = 33 
TVMR: NVDEC LowCorner Freq = (110000 * 1024) 
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
---> TVMR: Video-conferencing detected !!!!!!!!!
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
0 bounding boxes detected
[GIE]  cudnnEngine.cpp (387) - Cuda Error in execute: 4
[GIE]  detectNet::Classify() -- failed to execute tensorRT context
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaNormalize.cu:47
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
TVMR: FrameRate = 25.004876 
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/display/glTexture.cpp:241
[cuda]   cudaGetLastError()
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda]   cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda]      unspecified launch failure (error 4) (hex 0x04)
[cuda]      /home/nvidia/jetson-inference/util/camera/gstCamera.cpp:115
detectnet-camera:  failed to convert from NV12 to RGBA
detectNet::Detect( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nvidia/jetson-inference/detectnet-camera/detectnet-camera.cpp:228
[cuda]   cudaGraphicsMapResources(1, &mInteropCUDA)

Hi,

Let us set up the environment and update further suggestion later.
Thanks.

Hi,

Sorry for that we don’t have IP camera to set up the environment.

Could you try following command(console and gstCamera):

gst-launch-1.0 udpsrc port=5004 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)YCbCr-4:2:2, depth=(string)8, width=(string)1280, height=(string)960, payload=(int)96" ! rtpvrawdepay ! 'video/x-raw' ! appsink name=mysink

Thanks.

Hi,

I tired both on console and detechtnet-camera, for console it did not have any problem but it never show any video feed. For the detectnet-camera it shows error. Below are the following result:

From console:

nvidia@tegra-ubuntu:~$ gst-launch-1.0 udpsrc port=15004 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)YCbCr-4:2:2, depth=(string)8, width=(string)1280, height=(string)960, payload=(int)96" ! rtpvrawdepay ! 'video/x-raw' ! appsink name=mysink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

From detechtnet-camera:

nvidia@tegra-ubuntu:~/jetson-inference/build/aarch64/bin$ ./detectnet-camera 
detectnet-camera
  args (1):  0 [./detectnet-camera]  

[gstreamer] initialized gstreamer, version 1.8.3.0
[gstreamer] gstreamer decoder pipeline string:
udpsrc port=15004 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)YCbCr-4:2:2, depth=(string)8, width=(string)1280, height=(string)960, payload=(int)96" ! rtpvrawdepay ! 'video/x-raw' ! appsink name=mysink

(detectnet-camera:7498): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
[gstreamer] gstreamer decoder failed to create pipeline
[gstreamer]    (syntax error)
[gstreamer] failed to init gstCamera

detectnet-camera:  failed to initialize video device

Thanks!

Hi,

I manage to run detecnet-camera it mange to detect object, however there is no video feed. Below is the command I used:

ss << " udpsrc port=" <<mV4L2Device << " !";
		ss << " application/x-rtp,media=video, clock-rate=90000,encoding-name=H264,payload=96,framerate=30/1, format=NV12,";
		ss << " width=(int)" << mWidth << ", height=(int)" << mHeight << " !";
		ss << " rtph264depay ! h264parse !"; 
		ss << " queue ! avdec_h264 ! appsink name=mysink";

I suspect is the format that is wrong.

Thanks!

Hi quanjie, the master branch converts YUV-NV12 into RGBA in the ConvertRGBA() function.
Depending on your camera’s format, you may want to use a different kernel from cudaYUV.h

You may be interested to see ross-abaco’s fork for streaming GigEVision and RTP IP cameras, see the code here:
https://github.com/Abaco-Systems/jetson-inference-gv