Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In "person_detection" example on ESP32-S3 Korvo 2, Camera captured Failed. (TFMIC-32) #89

Open
hardikofficial963 opened this issue Jul 26, 2024 · 2 comments

Comments

@hardikofficial963
Copy link

I am trying to build person_detection example on ESP32 Korvo 2, I configured the Pins as defined in datasheet:

image

Then I build the project, Build successful, but giving me "Camera captured failed" error.

image

I used "idf.py set-target esp32s3"

Please tell me how can I resolve it.

Thanks

@hardikofficial963 hardikofficial963 changed the title In person_detection example on ESP32-S3 Korvo 2, Camera captured Failed. In "person_detection" example on ESP32-S3 Korvo 2, Camera captured Failed. Jul 26, 2024
@github-actions github-actions bot changed the title In "person_detection" example on ESP32-S3 Korvo 2, Camera captured Failed. In "person_detection" example on ESP32-S3 Korvo 2, Camera captured Failed. (TFMIC-32) Jul 26, 2024
@vikramdattu
Copy link
Collaborator

Can you please check in the initial logs if the camera init is indeed successful? If not, the image capture will keep failing.

@hardikofficial963
Copy link
Author

It is failing here

person_detection\main\image_provider.cc

// Get an image from the camera module
TfLiteStatus GetImage(int image_width, int image_height, int channels, int8_t* image_data) {
#if ESP_CAMERA_SUPPORTED
  ESP_LOGE(TAG, "Trying to init camera");
  camera_fb_t* fb = esp_camera_fb_get();
  if (!fb) {
    ESP_LOGE(TAG, "Camera capture failed");
    return kTfLiteError;
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants