cnn error -

Hi,

Just beginning to play with a couple M7s. Updated the firmware (3.0) and using the latest IDE (2.0).

When running the cnn_1.py example (not changed at all) I get the attribute error below; not sure what I am doing wrong. Why would there be no classify_object() on the img variable?

img = sensor.snapshot().lens_corr(1.6) # Take a picture and return the image.
out = img.classify_object()

Traceback (most recent call last):
File “”, line 19, in
AttributeError: ‘Image’ object has no attribute ‘classify_object’
MicroPython v1.9.4-4510-g23e8457de on 2018-06-29; OPENMV3 with STM32F765
Type “help()” for more information.

Thanks,
Shawn

Hi,
The API has changed, please check Examples->25-Machine-Learning and the related docs:
http://docs.openmv.io/library/omv.nn.html?highlight=forward#class-net-neural-network