nadermx / backgroundremover

Background Remover lets you Remove Background from images and video using AI with a simple command line interface that is free and open source.
https://www.backgroundremoverai.com
MIT License
6.45k stars 535 forks source link

Anaconda | Win10 | Lastest 2.* version #77

Open tushar-31093 opened 1 year ago

tushar-31093 commented 1 year ago

Hi, Apparently the code does not work. I cloned the repo, installed all the requirements and ran the code.

Input:

https://github.com/nadermx/backgroundremover/assets/40886260/cd5e7931-2a88-41e1-a887-05540be8e1e8

Default output

https://github.com/nadermx/backgroundremover/assets/40886260/67bf2fd3-2a81-424a-9177-1006235adfc8

Syntax: python -m backgroundremover.cmd.cli -i "result_elon.mp4" -mk -o "output.mov"

Output to remove background and make transparent has an issue. Syntax: python -m backgroundremover.cmd.cli -i "result_elon.mp4" -fr 30 -tv -o "output.mov"

The result is a 0 byte .mov file.

Can you suggest what else could be done. Trying some ed-tech pro bono work so if we can expedite it, it would be great.

nadermx commented 1 year ago

I haven't tried conda. What operating system? Do you have ffmpeg 4.4+?

El dom, 21 de may de 2023 09:15, Tushar Bhatnagar @.***> escribió:

Hi, Apparently the code does not work. I cloned the repo, installed all the requirements and ran the code.

Input:

https://github.com/nadermx/backgroundremover/assets/40886260/cd5e7931-2a88-41e1-a887-05540be8e1e8

Default output

https://github.com/nadermx/backgroundremover/assets/40886260/67bf2fd3-2a81-424a-9177-1006235adfc8

Syntax: python -m backgroundremover.cmd.cli -i "result_elon.mp4" -mk -o "output.mov"

Output to remove background and make transparent has an issue. Syntax: python -m backgroundremover.cmd.cli -i "result_elon.mp4" -fr 30 -tv -o "output.mov"

The result is a 0 byte .mov file.

Can you suggest what else could be done. Trying some ed-tech pro bono work so if we can expedite it, it would be great.

— Reply to this email directly, view it on GitHub https://github.com/nadermx/backgroundremover/issues/77, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXGKQQE3ZNLQA6HT4ULXHIIQHANCNFSM6AAAAAAYJMYAUY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

tushar-31093 commented 1 year ago

I haven't tried conda. What operating system? Do you have ffmpeg 4.4+? El dom, 21 de may de 2023 09:15, Tushar Bhatnagar @.> escribió: Hi, Apparently the code does not work. I cloned the repo, installed all the requirements and ran the code. Input: https://github.com/nadermx/backgroundremover/assets/40886260/cd5e7931-2a88-41e1-a887-05540be8e1e8 Default output https://github.com/nadermx/backgroundremover/assets/40886260/67bf2fd3-2a81-424a-9177-1006235adfc8 Syntax: python -m backgroundremover.cmd.cli -i "result_elon.mp4" -mk -o "output.mov" Output to remove background and make transparent has an issue. Syntax: python -m backgroundremover.cmd.cli -i "result_elon.mp4" -fr 30 -tv -o "output.mov" The result is a 0 byte .mov file. Can you suggest what else could be done. Trying some ed-tech pro bono work so if we can expedite it, it would be great. — Reply to this email directly, view it on GitHub <#77>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXGKQQE3ZNLQA6HT4ULXHIIQHANCNFSM6AAAAAAYJMYAUY . You are receiving this because you are subscribed to this thread.Message ID: @.>

I am on Windows 10. Yes. ffmpeg is 4.4+

I resorted to using rembg instead which is potentially not useful as i introduce 4 new steps. Extracts frames, performs background removal and then stitch the video and add the audio again. Its a sad long process.

nadermx commented 1 year ago

Did you upgrase to 0.2.2 background remover? Since I fixed the windows issue on 0.2.1

El dom, 21 de may de 2023 11:06, Tushar Bhatnagar @.***> escribió:

I haven't tried conda. What operating system? Do you have ffmpeg 4.4+? El dom, 21 de may de 2023 09:15, Tushar Bhatnagar @.

> escribió: … <#m-8830801640799079987> Hi, Apparently the code does not work. I cloned the repo, installed all the requirements and ran the code. Input: https://github.com/nadermx/backgroundremover/assets/40886260/cd5e7931-2a88-41e1-a887-05540be8e1e8 https://github.com/nadermx/backgroundremover/assets/40886260/cd5e7931-2a88-41e1-a887-05540be8e1e8 Default output https://github.com/nadermx/backgroundremover/assets/40886260/67bf2fd3-2a81-424a-9177-1006235adfc8 https://github.com/nadermx/backgroundremover/assets/40886260/67bf2fd3-2a81-424a-9177-1006235adfc8 Syntax: python -m backgroundremover.cmd.cli -i "result_elon.mp4" -mk -o "output.mov" Output to remove background and make transparent has an issue. Syntax: python -m backgroundremover.cmd.cli -i "result_elon.mp4" -fr 30 -tv -o "output.mov" The result is a 0 byte .mov file. Can you suggest what else could be done. Trying some ed-tech pro bono work so if we can expedite it, it would be great. — Reply to this email directly, view it on GitHub <#77 https://github.com/nadermx/backgroundremover/issues/77>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXGKQQE3ZNLQA6HT4ULXHIIQHANCNFSM6AAAAAAYJMYAUY https://github.com/notifications/unsubscribe-auth/ABYACXGKQQE3ZNLQA6HT4ULXHIIQHANCNFSM6AAAAAAYJMYAUY . You are receiving this because you are subscribed to this thread.Message ID: @.>

I am on Windows 10. Yes. ffmpeg is 4.4+

I resorted to using rembg instead which is potentially not useful as i introduce 4 new steps. Extracts frames, performs background removal and then stitch the video and add the audio again. Its a sad long process.

— Reply to this email directly, view it on GitHub https://github.com/nadermx/backgroundremover/issues/77#issuecomment-1556202481, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXDRYAG3AZ3CJ7UDULDXHIVPHANCNFSM6AAAAAAYJMYAUY . You are receiving this because you commented.Message ID: @.***>

nadermx commented 1 year ago

Also python3.x-dev for what ever version of python you got

El dom, 21 de may de 2023 11:30, Johnathan Nader @.***> escribió:

Did you upgrase to 0.2.2 background remover? Since I fixed the windows issue on 0.2.1

El dom, 21 de may de 2023 11:06, Tushar Bhatnagar < @.***> escribió:

I haven't tried conda. What operating system? Do you have ffmpeg 4.4+? El dom, 21 de may de 2023 09:15, Tushar Bhatnagar @.

> escribió: … <#m_-7147615734222563275m-8830801640799079987_> Hi, Apparently the code does not work. I cloned the repo, installed all the requirements and ran the code. Input: https://github.com/nadermx/backgroundremover/assets/40886260/cd5e7931-2a88-41e1-a887-05540be8e1e8 https://github.com/nadermx/backgroundremover/assets/40886260/cd5e7931-2a88-41e1-a887-05540be8e1e8 Default output https://github.com/nadermx/backgroundremover/assets/40886260/67bf2fd3-2a81-424a-9177-1006235adfc8 https://github.com/nadermx/backgroundremover/assets/40886260/67bf2fd3-2a81-424a-9177-1006235adfc8 Syntax: python -m backgroundremover.cmd.cli -i "result_elon.mp4" -mk -o "output.mov" Output to remove background and make transparent has an issue. Syntax: python -m backgroundremover.cmd.cli -i "result_elon.mp4" -fr 30 -tv -o "output.mov" The result is a 0 byte .mov file. Can you suggest what else could be done. Trying some ed-tech pro bono work so if we can expedite it, it would be great. — Reply to this email directly, view it on GitHub <#77 https://github.com/nadermx/backgroundremover/issues/77>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXGKQQE3ZNLQA6HT4ULXHIIQHANCNFSM6AAAAAAYJMYAUY https://github.com/notifications/unsubscribe-auth/ABYACXGKQQE3ZNLQA6HT4ULXHIIQHANCNFSM6AAAAAAYJMYAUY . You are receiving this because you are subscribed to this thread.Message ID: @.>

I am on Windows 10. Yes. ffmpeg is 4.4+

I resorted to using rembg instead which is potentially not useful as i introduce 4 new steps. Extracts frames, performs background removal and then stitch the video and add the audio again. Its a sad long process.

— Reply to this email directly, view it on GitHub https://github.com/nadermx/backgroundremover/issues/77#issuecomment-1556202481, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXDRYAG3AZ3CJ7UDULDXHIVPHANCNFSM6AAAAAAYJMYAUY . You are receiving this because you commented.Message ID: @.***>

tushar-31093 commented 1 year ago

Python 3.8

tushar-31093 commented 1 year ago

Yes. downloaded the latest one from there.

nadermx commented 1 year ago

Does it work with another video? I had some issues with random issues due to frame ripping function. Might be the video I need to find why not working

El dom, 21 de may de 2023 11:40, Tushar Bhatnagar @.***> escribió:

Yes. downloaded the latest one from there.

— Reply to this email directly, view it on GitHub https://github.com/nadermx/backgroundremover/issues/77#issuecomment-1556210119, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXACTADOMTPQOOPQDALXHIZPXANCNFSM6AAAAAAYJMYAUY . You are receiving this because you commented.Message ID: @.***>

tushar-31093 commented 1 year ago

Does it work with another video? I had some issues with random issues due to frame ripping function. Might be the video I need to find why not working El dom, 21 de may de 2023 11:40, Tushar Bhatnagar @.> escribió: Yes. downloaded the latest one from there. — Reply to this email directly, view it on GitHub <#77 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXACTADOMTPQOOPQDALXHIZPXANCNFSM6AAAAAAYJMYAUY . You are receiving this because you commented.Message ID: @.>

Nope. Doesn't work with others either.