Open sugizo opened 5 months ago
trying to use pillow arrary but get the same result code
import numpy as np
from PIL import Image
def tes(image):
img = Image.fromarray(image)
im = FImage(img)
im.apply(Sepia(90) )
return np.array(im)
video0 = VideoFileClip("mountains.mp4")
video0 = video0.fl_image(tes)
result
AttributeError Traceback (most recent call last)
[<ipython-input-7-a86f884d4715>](https://localhost:8080/#) in <cell line: 8>()
6
7 video0 = VideoFileClip("mountains.mp4")
----> 8 video0 = video0.fl_image(tes)
11 frames
<decorator-gen-178> in set_make_frame(self, mf)
<decorator-gen-128> in get_frame(self, t)
[/usr/local/lib/python3.10/dist-packages/PIL/Image.py](https://localhost:8080/#) in __getattr__(self, name)
544 )
545 return self._category
--> 546 raise AttributeError(name)
547
548 @property
AttributeError: read
thanks and best regards
Expected Behavior
can work with fimage python module
Actual Behavior
not work with fimage and have an error
Steps to Reproduce the Problem
Specifications
test fimage with the same python version and same google colab platform it's work well
thanks and best regards