You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide a sample stack trace of what error you get? It would be good to know if this is coming from OpenCV or something PySceneDetect is doing with the paths.
I have tested the PySenceDetect function locally and it can print the path normally. The problem may occur with cv2.iwrite. There is no error output when calling save_images.
I suspected so, I audited the code paths, and PySceneDetect tries to be good about respecting UTF-8 characters in paths. We can probably work around this issue by writing to an in-memory buffer and then saving that to disk separate.
Breakthrough
changed the title
scenedetect.scene_manager.save_images cannot save images properlysave_images API function does not work correctly with some characters
Oct 31, 2024
Description:
If the output dir contains Chinese, the image cannot be saved properly
The text was updated successfully, but these errors were encountered: