When making a Camera based Impulse the final Arduino library has an example static_buffer which is your Arduino image classifying starting point.
Once things work (you have pasted an images raw data from your impulse to your Arduino features array), Then 2 items become fairly important.
signal_t and out_ptr:
To understand how your data moves from your camera to the classifier I need to understand both of these.
signal_t features_signal;
is used to process your image data and has the property .total_length
and an overridden method .get_data
out_ptr
is a pointer that is sent to the classifier.
Where can I find more information about these items? I would like to know if signal_t has more properties and methods and where it is defined. I would also like to know where out_ptr is defined as it is barely mentioned on the static_buffer sketch.
The following lines do not even mention out_ptr although it is the main chunk of data being sent to the classifier.
features_signal.get_data = &raw_feature_get_data;
// invoke the impulse
EI_IMPULSE_ERROR res = run_classifier(&features_signal, &result, false /* debug */);
Searching for answers at https://github.com/edgeimpulse gets too much information. Any suggestions?
These questions are connected to the thread trying to get the OV7670 Camera working with the Nano33BleSense at Ov7670 Cam with Nano33BLE(Sense)