frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Alert: Beginning Tuesday, June 25th, we will be freezing this site and migrating the content and forums to our new home at https://forums.intel.com. Check it out now!

Can i help me to run own code using NCS2

https://github.com/yehengchen/SmartCar-FaceRecognition
In my case. i using GPU to run my code before.
Now i want to run my code using NCS2 to real time face recognition.
Can you let me know how to using NCS2 to run my code.
And details code can see the identify_face_video.py file in my github.
Thanks.

Comments

  • 3 Comments sorted by Votes Date Added
  • Hi @bigfoottt

    Since you're using the NCS2, you will need to use the OpenVINO toolkit. You should be able to convert your Tensorflow FaceNet model using the Model Optimizer included in the toolkit. Take a look at the following section in the documentation: https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_FaceNet_From_Tensorflow.html

    I hope this information is helpful.

    Best Regards,
    Sahira

  • I also have the NCS1, i want to using the NSC1 to run facenet + mtcnn.
    I converted the facenet_celeb_ncs.graph and downloaded the ncappzoo/tensorflow/facenet demo.
    The demo is no multi-face recognition support, so i want to using my code.
    But i don't know how to import ncs1 devices.
    Do you have any idea how i can use it to run my code.
    Thanks.

  • Hi @bigfoottt

    I apologize if I misunderstood your question, but are you asking how to open the NCS device in your own code? If so, here is a code snippet (in C++ on how you would open the NCS device) so you can add this in your code to call the NCS. Please let me know if this was helpful.

    //Try to open the NCS device via the device name
    retCode = mvncOpenDevice(devName, &deviceHandle);
    if (retCode != MVNC_OK)
    { // failed to open the device.
    printf("Error - Could not open NCS device.\n");
    printf(" mvncStatus value: %d\n", retCode);
    exit(-1);
    }

    Best Regards,
    Sahira

This discussion has been closed.