Forums - feeding image to the Network from camera Capture

2 posts / 0 new
Last post
feeding image to the Network from camera Capture
desaipratik
Join Date: 25 Jul 17
Posts: 3
Posted: Mon, 2017-07-31 01:50

Hello,

Is it possible to feed the network(in real time) the images captured from camera on android phone for object recognition ?

(P.S  : I understand that it needs height*weight*channel format of Bitmap Image)

Best regards,

Pratik Desai

  • Up0
  • Down0
oferr Moderator
Profile picture
Join Date: 26 Jul 17
Location: San Diego
Posts: 22
Posted: Mon, 2017-07-31 14:45

Yes. There is a specilized version of CreateTensor() which is designed specifically to import NV21 information. The samples provided in the SDK show how it is done.

zdl::SNPE::SNPEFactory::getTensorFactory.createTensor (inputShape, inputVec.data(), NV21InputSize);

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.