Hi,
I work under win32XP, OPENMV1.3 and firmeware 2.0
I can not use the function:
Image.rgb_Lab (r, g, b) ine window tells me:
“AttributeError: ‘image’ object has no attibute ‘rgb_lab’”
This function is indicated in: image -machine vision
https://openmv.io/docs/library/omv.image.html#image.lab_to_rgb
Thank you for telling me an example that uses this function in the following way:
I want to monitor the colors of a pixel (pix (50,80):
TblRGB = (255,247.26)
TblLab = (0,0,0)
I = 50
J = 80
--------------------
Sensor.reset ()
Sensor.set_pixformat (sensor.RGB565)
Sensor.set_framesize (sensor.QVGA)
--------------------
Img = sensor.snapshot ()
TblRGB = img.get_pixel (i, j)
Img.rgb_to_lab ((tblRGB)).
Tab = img.get_pixel (i, j)
TblLab = img.rgb_to_lab ((tblRGB))
--------------------------------------
Print (str (tblLab))
thank you