bitcraze / aideck-gap8-examples

Examples on how to use the GAP8 on the AI-deck
46 stars 49 forks source link

classification example to freertos with cpx #89

Closed knmcguire closed 2 years ago

knmcguire commented 2 years ago

These are efforts to move the classification example to freertos and run CPX debugging instead of printf.

There is still an issue though, as it blocks after the first cpx debug to console. After GAP8:" Classification " I don't see "Starting to open camera". So it's blocking in between somehow?

knmcguire commented 2 years ago

This line needs to be changed too which might interferes with the wifi example

This needs to be changed to

#define TXQ_SIZE (80)

There seems to be some cpx handling that needs to be changed first. See this issue: https://github.com/bitcraze/aideck-esp-firmware/issues/9. Or we have to make a different initialization function for CPX where we can define the size.

knmcguire commented 2 years ago

Or we should pick a smaller network than mobile netv2 just for the example, or try to see if we can reduce it further with quantizing the network even more? We need a bit more space for cpx to work :)