GithubHelp home page GithubHelp logo

Comments (6)

knmcguire avatar knmcguire commented on July 17, 2024

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.

knmcguire avatar knmcguire commented on July 17, 2024

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.

knmcguire avatar knmcguire commented on July 17, 2024

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.

knmcguire avatar knmcguire commented on July 17, 2024

Could you give us an update if this works for you so that we can close the issue?

from aideck-gap8-examples.

4perros avatar 4perros commented on July 17, 2024

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.

knmcguire avatar knmcguire commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.