donny681 / ESP32_CAMERA_QR

Apache License 2.0
628 stars 226 forks source link

Use Project in Arduino Framework #37

Closed Schaggo closed 4 years ago

Schaggo commented 4 years ago

Hi! Im building a photogrammetric 3D-Scanner with 60+ Ai-Thinkers and am trying to find a neat way to configure each module. Your project seems to be a good fit. I'm really impressed with what you achieved here!

My hole project is currently being programmed on the Arduino platform. I tried to implement your repository but seem to lag some skill here. Could you give me a hint how I implement your functionality for Arduino without a web server running?

What I've tried:


 void recognizeQR()
{
   camera_fb_t * fb = NULL;        
    while(true)
    {
      vTaskDelay(100);
      fb = esp_camera_fb_get();
      if (!fb)
        {
         ESP_LOGE(TAG, "Camera capture failed");
         continue;
        }
        qr_recognize(fb);
        esp_camera_fb_return(fb);
}

Results in : "undefined reference to `qr_recognize(void*)'"

Thanks for your Time Marco

Schaggo commented 4 years ago

Ok got it done - was not aware of "name mangling".