How do i get frame rate or other performance metrics on when running networks on the azure percept devkit?

bm21_416 21 Reputation points
2021-06-25T18:47:40.037+00:00

I have been running networks on Azure percept devkit and i am interested in knowing how to measure performance such as FPS for the networks. I have not found any documentation of that anywhere, will be a big help if i can get some info on this.

Azure Percept
Azure Percept
A comprehensive Azure platform with added security for creating edge artificial intelligence solutions.
72 questions
{count} votes

Accepted answer
  1. Mike McCoy - MSFT 606 Reputation points
    2021-07-12T18:23:25.657+00:00

    @bm21_416 - unfortunately, the Azure Percept DK does not currently have an API in the Myriad X SDK suitable for profiling neural networks.

    However, you could try to calculate the FPS by taking the difference of two consecutive frames in the log output. For example, the below two frames are about 400 milliseconds apart. Note that seqno is the frame ID in consecutive order. So if subsequent frame IDs are not one integer apart, it means a frame was dropped.

    nn: seqno=2, ts=1615811179194168848, []
    nn: seqno=3, ts=1615811179235832767, []

    Thanks,

    -Mike

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.