You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So @tobymcclean thanks for the report. And sorry I didn't circle back earlier. We discussed this offline (and came to a good resolution) which is to respect the actual dimensions of the metadata when getting frame width and height so that these metrics give you directly the dimensions of the metadata. Which, if I summarized correctly, is another way to describe what we decided internally:
We didn't intended these to be used on NNetPacket, but agree we'll need to provide initialized values. Currently only getFrameWidth() will return correct data, and that's the NN packet size. For this case we could make both getFrameHeight() and getFrameBytesPP() return 1, so it they are all multiplied to get the total size, the output value is correct as well.
We will be implementing this in the Gen2 version, here.
When running with the option
-s left metaout
Is returning
The code for FrameMetadata suggests that the height and width should be pixels, but the actual numbers don't make sense to me.
The text was updated successfully, but these errors were encountered: