google-coral / project-bodypix

BodyPix model demo application for Google Coral
Apache License 2.0
275 stars 52 forks source link

Ask sharing the PosenetDecoderOp implementation for C++ #28

Closed seungchulhan closed 3 years ago

seungchulhan commented 3 years ago

Description

I want to use the bodypix in c++. When I tested the bodypix model in c++, interpreter can't find the PosenetDecoderOp. Could you share the c++ implementation for PosenetDecoderOp? If there is a way to use bodypix model in c++ implementation, please let me know. Thanks.

Issue Type

Support

Operating System

Ubuntu

Coral Device

USB Accelerator

Other Devices

Rapsberry Pi 4

Programming Language

C++

Relevant Log Output

No response

Namburger commented 3 years ago

@seungchulhan here it is :) https://github.com/google-coral/libcoral/tree/master/coral/pose_estimation

the shared library is also available here if you don't wanna build it your self: https://github.com/google-coral/project-bodypix/tree/master/posenet_lib

seungchulhan commented 3 years ago

@Namburger I was referencing legacy code in edgetpu repo. Its PosenetDecoderOp dose not support input num 4. I fixed it with PosenetDecoderOp in libcoral repo. Thanks !!!