Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture Image code outdated and not working on Colab #151

Open
TheShortKing69 opened this issue Oct 9, 2023 · 2 comments
Open

Capture Image code outdated and not working on Colab #151

TheShortKing69 opened this issue Oct 9, 2023 · 2 comments

Comments

@TheShortKing69
Copy link

Hi there, I am facing a lot of issues on 4. Capture Images in Image Collection.ipynb.

CV2 doesn't seems working on Colab, I am using different device on different location, so Jupyter is not a good option for me.

CV2 problem: imread no longer work on Colab, imshow cannot take 2 positional argument.

Please help. Thank you.

@sabbir2609
Copy link

sabbir2609 commented Oct 9, 2023

Using cv2 in Colab is challenging. Because the notebook is running on Google's machine. It's better you done the image collection steps in your local machine then put the whole projects inside google drive, then train it on Colab.

ps: if you're on windows you can install Google drive in your pc and work inside a folder in it... it'll auto sync all your files.

@TheShortKing69
Copy link
Author

Thanks mate, I just found out that Colab cannot run local machine's webcam since it runs on Google's Cloud, so my best bet is run it on VE at Jupyter like what Nick did in the video. Thank you, mate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants