-
Hi, Currently we have a video analytics ACAP application running within Axis Q1615 camera. In this application we pull an internal H.264 stream and do significant amount of preprocessing of the stream using OpenCV. Following this preprocess step, we send a handful of selected images to the TPU chip within Q1615 to perform object classification. We want to port this application to Artpec8 environment. We want to keep our preprocess flow exactly the same - just send the same handful of selected images to Artpec 8 DLPU instead of the TPU chip in Q1615. Can you tell us as to how we invoke the just the DLPU from our existing application to do this. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello @rafiomeon Are you using the native sdk or the computer vision sdk? On an extra note, to run your model on artpec8, it has to be in tflite format, not anymore in edgetpu.tflite. |
Beta Was this translation helpful? Give feedback.
Hello @rafiomeon
Are you using the native sdk or the computer vision sdk?
Assuming you are using the native sdk, to switch from tpu chip and artpec8 chip you need to provide the chip "12" to the setuplarod function.
You can find an example here:
https://github.com/AxisCommunications/acap-native-sdk-examples/blob/main/object-detection/app/object_detection.c#L459
arg.chip comes from the -c parameter that you can see here:
https://github.com/AxisCommunications/acap-native-sdk-examples/blob/main/object-detection/app/manifest.json.artpec8
On an extra note, to run your model on artpec8, it has to be in tflite format, not anymore in edgetpu.tflite.