lib_deps and esp-idf framework do not play together. If you want to add the esp32-camera component, do so as an ESP-IDF component. Also it makes no sense to include Arduino libraries if you only the ESP-IDF as the framework, not Arduino.
1 Like