Skip to content

Accuracy difference with tflite quant8 model #191

Answered by Corallo
akash4562800 asked this question in General
Discussion options

You must be logged in to vote

Hi @akash4562800

From your code snippet I see you are converting BGR to RGB, unless I misunderstood your intent that doesn't seem correct.
The VideoCaptureClient will return an RGB image.
Maybe that is the reason of the performance difference?
If you want to dig more, take a look at this discussion: AxisCommunications/axis-model-zoo#50
It has some guideline on how to debug another model, but you might find it useful.

In particular, you can try it on a fixed image both on tensorflow and on the camera.
You can save the image as a binary file and use the larod-client to test the model in isolation.
Here is a guide that shows how to do it: https://developer.axis.com/computer-vision/computer-v…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Corallo
Comment options

You must be logged in to vote
1 reply
@Corallo
Comment options

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #189 on August 21, 2024 13:36.