Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

How to use ColorStream in Processing

sichi2
Beginner
835 Views

Hi,

I want to use colormode in Processing.

I renewed the 72 - 80 line of the sample cord in $(RSSDK_DIR)/framework/Processing/FF_HandTracking.

    PXCMCapture.Sample sample = senseMgr.QueryHandSample();
    if (sample != null) {
      PXCMImage.ImageData cData = new PXCMImage.ImageData();
      sample.color.AcquireAccess(PXCMImage.Access.ACCESS_READ, PXCMImage.PixelFormat.PIXEL_FORMAT_RGB24, cData);
      imgColor = cData.ToPImage(0, imgColor); 
      sample.color.ReleaseAccess(cData);
      image(imgColor, 0, 0);
    }

However,Processing can`t find "color" and "Color" written in the following site

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/sample_pxccapture.html

Can Processing  never use ColorStream ?

0 Kudos
2 Replies
Xusheng_L_Intel
Employee
835 Views

You can find such usage @C:\Program Files (x86)\Intel\RSSDK\framework\Java\DF_CameraViewer. Thanks!

0 Kudos
sichi2
Beginner
835 Views

thanks, I`ll try it.

0 Kudos
Reply