Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Example only accepts fixed size input and not detection example? #8

Open
jedichen121 opened this issue Mar 15, 2021 · 1 comment
Open
Assignees
Labels
comp:demo Demo related isssues type:support Support question or issue

Comments

@jedichen121
Copy link

I was trying these C++ api and examples and realized that there's no example that uses detection model? But there is one in pycoral repository.

Besides, I also noticed the example only accepts fixed size input. However, in the test framework it does accept variable size input and has a resize function. I'm wondering why those useful functions are only in the test_utils but not tflite_utils? I have created a detection example that takes bmp files by copying those resize functions to tflite_utils as well. But not sure if this is the desired implementation.

@Namburger
Copy link

Namburger commented Mar 16, 2021

@jedichen121 I was going to point you to that resized example function in out test_utils directory. It is up to you to decide if you want to use it or not, keep in mind that all of our examples are just that, examples :)
pycoral is python and so it is super simple to just import another library for resizing purposes, for c++ we want to keep it minimal

Here is also another example to parse detection outputs:
https://github.com/Namburger/edgetpu-detection-camera/blob/master/src/tflite_wrapper.cc#L65

@Namburger Namburger added the demo label Mar 16, 2021
@hjonnala hjonnala added comp:demo Demo related isssues stat:awaiting Coral team Status - Awaiting response from Coral team type:support Support question or issue and removed demo labels Aug 6, 2021
@hjonnala hjonnala removed the stat:awaiting Coral team Status - Awaiting response from Coral team label May 13, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
comp:demo Demo related isssues type:support Support question or issue
Projects
None yet
Development

No branches or pull requests

4 participants