Comments (6)
Hi! Thank you for letting us know. The face detection example was last tested on the SDK version 3.4. I indeed got the same error as you did on 3.5 already. I also have 18.04 and after downgrading the sdk to 3.4, (and make gap_tools
), it compiled for me.
I will update the documentation to state this, since the SDK version was not displayed there. In the mean time we will look into updating the example to work for 3.6
from aideck-gap8-examples.
Full error message from my side:
gcc -o GenTile -I/home/kimberly/projects/greenwave/gap_sdk/tools/autotiler_v3/include FaceDetGenerator.c FaceDetModel.c /home/kimberly/projects/greenwave/gap_sdk/tools/autotiler_v3/lib/libtile.a -O3 -g -D__PMSIS__ -DUSE_CAMERA -DUSE_STREAMER -DNB_FRAMES=-1 -DHIMAX
FaceDetGenerator.c: In function ‘GenerateResize’:
FaceDetGenerator.c:95:38: error: ‘LOC_INNER_LOOP’ undeclared (first use in this function); did you mean ‘LOC_LOOP’?
Calls(1, Call("KerResizeBilinear", LOC_INNER_LOOP,
^~~~~~~~~~~~~~
LOC_LOOP
FaceDetGenerator.c:95:38: note: each undeclared identifier is reported only once for each function it appears in
FaceDetGenerator.c: In function ‘GenerateIntegralImage’:
FaceDetGenerator.c:126:34: error: ‘LOC_INNER_LOOP_PROLOG’ undeclared (first use in this function); did you mean ‘LOC_LOOP_PROLOG’?
Call("KerIntegralImagePrime", LOC_INNER_LOOP_PROLOG,
^~~~~~~~~~~~~~~~~~~~~
LOC_LOOP_PROLOG
FaceDetGenerator.c:132:36: error: ‘LOC_INNER_LOOP’ undeclared (first use in this function); did you mean ‘LOC_LOOP’?
Call("KerIntegralImageProcess", LOC_INNER_LOOP,
^~~~~~~~~~~~~~
LOC_LOOP
FaceDetGenerator.c: In function ‘GenerateSquaredIntegralImage’:
FaceDetGenerator.c:165:34: error: ‘LOC_INNER_LOOP_PROLOG’ undeclared (first use in this function); did you mean ‘LOC_LOOP_PROLOG’?
Call("KerIntegralImagePrime", LOC_INNER_LOOP_PROLOG,
^~~~~~~~~~~~~~~~~~~~~
LOC_LOOP_PROLOG
FaceDetGenerator.c:171:43: error: ‘LOC_INNER_LOOP’ undeclared (first use in this function); did you mean ‘LOC_LOOP’?
Call("KerSquaredIntegralImageProcess", LOC_INNER_LOOP,
^~~~~~~~~~~~~~
LOC_LOOP
FaceDetGenerator.c: In function ‘GenerateCascadeClassifier’:
FaceDetGenerator.c:211:31: error: ‘LOC_INNER_LOOP’ undeclared (first use in this function); did you mean ‘LOC_LOOP’?
Call("KerEvaluateCascade", LOC_INNER_LOOP,
^~~~~~~~~~~~~~
LOC_LOOP
Makefile:48: recipe for target 'GenTile' failed
from aideck-gap8-examples.
My latest commit should solve your problem. I couldn't test it on 3.6 since I got some build issues on that version, so this was tested on 3.5, but I hope it works on 3.6
from aideck-gap8-examples.
Could you give us an update if this works for you so that we can close the issue?
from aideck-gap8-examples.
hello i am still having issues, but i think it is due to the compiler i am using (espressif esp 32) i followed your advice and downgraded to version 3.5 and reinstalled the examples folder and the previous problem dissappeared. i think we can close this issue. i will let you know how i am progressing. thank you for your help.
from aideck-gap8-examples.
Ah oke good!
Is the espressif compiler for the NINA? You could open up a new issue about that if you want, but we will close this one.
from aideck-gap8-examples.
Related Issues (20)
- classification example will not perform make HOT 1
- remove opencv dependency warning
- CFloader flash img hangs at 99% with the classification demo HOT 5
- Flashing of GAP8 sometimes stops at 3-4% HOT 14
- Wifi image streaming hangs, when executed multiple times. HOT 8
- Question: custom network for Ai deck (classification example) HOT 4
- cpx array sending example to crazyflie HOT 6
- [Urgent] Unable to resolve host address to greenwaves? HOT 4
- Rework aideck repo docs HOT 1
- Enforce CPX version
- Add LED error message
- Investigate corrupt bootloader with firmware
- wifi-img-streamer slows down when there are multiple streamers
- Himax camera does not work at lower resolutions HOT 2
- uart_send_char example not working
- Classification example - segmentation fault on some systems HOT 14
- Increase FPS rate streamer
- Improve classification demo
- Turning off/on the camera HOT 3
- Classification example fails to construct CNN when flashed with JTAG
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aideck-gap8-examples.