I am getting error like this: ERROR: LoadError: UndefVarError: imread not defined in read_data(::String, ::DataFrames.DataFrame, ::Int32, ::String) at FileLocation
Below is my code
Yeah! imread was deprecated load works fine in that place. But after changing that now i am getting ERROR: LoadError: type Array has no field data in read_data(::String, ::DataFrames.DataFrame, ::Int32, ::String) at file_path
The code is as follows:
The old Image type had a field called data, which held the pixel data. The new images uses plain AbstractArrays, so you may need to modify your code so it doesn’t use fooimg.data.