Closed rcoenen closed 1 year ago
related to this issue I suppose https://github.com/numba/numba/issues/5520
Try newest release https://github.com/nadermx/backgroundremover/releases/tag/v0.2.1
I still have the issue:
OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
output.mov
Traceback (most recent call last):
File "/opt/homebrew/bin/backgroundremover", line 8, in <module>
sys.exit(main())
File "/opt/homebrew/lib/python3.9/site-packages/backgroundremover/cmd/cli.py", line 239, in main
remove(
File "/opt/homebrew/lib/python3.9/site-packages/backgroundremover/bg.py", line 184, in remove
img = Image.open(io.BytesIO(data)).convert("RGB")
File "/opt/homebrew/lib/python3.9/site-packages/PIL/Image.py", line 3147, in open
raise UnidentifiedImageError(
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x17ff38f90>
This is on Python 3.11.4 (macOS Venturra 13.4) with the latest release (0.2.4).
A simple empty call will fail as well:
backgroundremover
OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
Traceback (most recent call last):
File "/opt/homebrew/bin/backgroundremover", line 8, in <module>
sys.exit(main())
File "/opt/homebrew/lib/python3.9/site-packages/backgroundremover/cmd/cli.py", line 187, in main
if args.input.name.rsplit('.', 1)[1] in ['mp4', 'mov', 'webm', 'ogg', 'gif']:
IndexError: list index out of range
Can you upload the video you are trying to remove? I do 't have a validation for no input
El mié, 9 de ago de 2023 10:49, fabswt @.***> escribió:
I still have the issue:
OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead. output.mov Traceback (most recent call last): File "/opt/homebrew/bin/backgroundremover", line 8, in
sys.exit(main()) File "/opt/homebrew/lib/python3.9/site-packages/backgroundremover/cmd/cli.py", line 239, in main remove( File "/opt/homebrew/lib/python3.9/site-packages/backgroundremover/bg.py", line 184, in remove img = Image.open(io.BytesIO(data)).convert("RGB") File "/opt/homebrew/lib/python3.9/site-packages/PIL/Image.py", line 3147, in open raise UnidentifiedImageError( PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x17ff38f90> This is on Python 3.11.4 (macOS Venturra 13.4) with the latest release (0.2.4).
A simple empty call will fail as well:
backgroundremover OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead. Traceback (most recent call last): File "/opt/homebrew/bin/backgroundremover", line 8, in
sys.exit(main()) File "/opt/homebrew/lib/python3.9/site-packages/backgroundremover/cmd/cli.py", line 187, in main if args.input.name.rsplit('.', 1)[1] in ['mp4', 'mov', 'webm', 'ogg', 'gif']: IndexError: list index out of range — Reply to this email directly, view it on GitHub https://github.com/nadermx/backgroundremover/issues/19#issuecomment-1671790770, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXGGTQWZSQSNEC6PVV3XUO5THANCNFSM5HP22WAQ . You are receiving this because you modified the open/close state.Message ID: @.***>
Conda / Python 3.97
backgroundremover -i test.mp4 -o test-01.png
OMP: Info #271: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.