-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sanitize NN output (NaN, Infinite); handle corrupted frames #18
Conversation
@szabi-luxonis I just pulled this latest code down and am now getting compilation errors in
Is this working on your end because I have to add an include to |
@ConnorChristie yes, it does, on all 3 OSes (Linux, MacOS, Windows). But I should have included math.h, I will fix it next week. |
@szabi-luxonis Thank you and yes, I am building a C++ app. And I can't wait for the C++ side of the API to come. I currently have to copy and paste the python initialization logic that's done inside of |
@ConnorChristie if you are not relying on latest features, there is a branch called "refactor" which addresses the issue of having logic in python bindings among other things. It is still under development, so changes in API are expected. I'll also update it with upstream changes from master in a close future, as it is currently a bit behind. |
Discard NN output if it is NaN or Infinite.
Internal frame queue size was reduced from 100 to 30.