convert nvbuffer to vx\_image
hello,

i’m trying to acquire frames with the library argus and to use them with visionworks.

i tried to use methods found in several samples of the l4t multimedia api.

thus, i’m using argus and eglstream to capture the frames and i manage to retrieve a pointer to the data.

then i create a vx\_ima…
hi yassineh,

here is our test result of no\_render cases:

[gstreamer]

gst-launch-1.0 nvcamerasrc num-buffers=300 ! ‘video/x-raw(memory:nvmm),width=1920,height=1080’ ! fakesink

ram 1486/3995mb (lfb 355x4mb) cpu [6%,0%,9%,6%]@1734 emc 4%@1600 avp 66%@12 nvdec 192 msenc 192 gr3d 0%@998 edp limit 173…
```
frame.setVisible(true);
Graphics g = canvase.getGraphics();
g.drawRect(0,0,50,50);
```

Getgraphics take graphics when frame is visible, You just have to get graphics after setting it visible.... Simple Solution :) I spoke to Adobe and in the end they deleted the .lrlibrary file and let it rebuild itself. Apparently it's normal that the application can download 0-5% of the original images from the server if some of them can't be converted into smart previews for whatever reason. My case was a bug. Either way, the answer is to rename or delete the file and let it rebuild on it's own. seek and tell are still required.

see here: <https://docs.lvgl.io/latest/en/html/overview/file-system.html#use-drivers-for-images> Have a look at this video that explains how to get the raw data from an F200, and convert the images into an OpenCV Mat object:


<https://www.youtube.com/watch?v=wIkIdjN6Oyw>


And here is the conversion shown in the video:



```
cv::Mat PXCImage2CVMat(PXCImage *pxcImage, PXCImage::PixelFormat format)
{
    PXCImage::ImageData data;
    pxcImage->AcquireAccess(PXCImage::ACCESS\_READ, format, &data);

    int width = pxcImage->QueryInfo().width;
    int height = pxcImage->QueryInfo().height;

    if(!format)
        format = pxcImage->QueryInfo().format;

    int type;
    if(format == PXCImage::PIXEL\_FORMAT\_Y8)
        type = CV\_8UC1;
    else if(format == PXCImage::PIXEL\_FORMAT\_RGB24)
        type = CV\_8UC3;
    else if(format == PXCImage::PIXEL\_FORMAT\_DEPTH\_F32)
        type = CV\_32FC1;

    cv::Mat ocvImage = cv::Mat(cv::Size(width, height), type, data.planes[0]);

    pxcImage->ReleaseAccess(&data);
    return ocvImage;
}
```

 




[View solution in original post](/t5/Software-Archive/converting-PXCImage-to-Mat-format/m-p/1090766#M65212) hello chris, - - we are already distributing telerik data access three nuget packages that you can download and try: - - telerik.dataaccess.fluent - package that should be used in your data model project, includes the enhancer; - telerik.dataaccess.core - package with references necessary for any project using telerik data access models and entities - telerik.dataaccess.fluent.sample - package to get you started with writing your fluent mapping using telerik data access. - - these packages are update when we are releasing a new version of the product and you can enjoy updates via nuget package manager. - you can find detailed information about the packages in this documentation article. - if you need assistance setting up your rlinq model to operate using nuget packages just let us know. - - - regards, - viktor zhivkov - telerik -   - - openaccess orm is now telerik data access. for more information on the new names, please, check out the telerik product map. - and use retention: <https://apps.nextcloud.com/apps/files_retention> Hi, I had a play around with it and managed to resolve it. When you download a picture from stock some are downloaded as a vector file. If you click on settings you can change it to download as a jpeg file.  This worked for me.  Cheers When saving, tick 'Use Artboards' in the file browser window. what are you lookig for?free study guides: 

https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-static-private-ip-arm-pporta...

cbt nuggets:   
https://www.cbtnuggets.com/blog/certifications/cloud/how-to-study-for-vmware-vsphere-6-vcp-dcv-in-9-...

instructor led training - i used to work for them and am biased :-)  

https://www.cbtnuggets.com/blog/certifications/cloud/how-to-study-for-vmware-vsphere-6-vcp-dcv-in-9-... this is my first time digging into the processing source code so i hope this helps. the problem you are facing is more of a java problem though than a processing one.

by extending pgraphics you would have to replace the renderer implementations to inherit from your subclass(tgraphics) and not pgrap…