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

Add support for tensorflow 2.x #1217

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

LittleD3092
Copy link

Description

This pull request simply contains the following changes:

  • Fixed import issues for tensorflow 2.x.
  • cv2.namedWindow('', 0) will trigger an assertion error for not having a window name. Therefore I editted it to cv2.namedWindow('camera window', 0).

Tests

It has been tested on tensorflow 2.8.0, but not tested on tensorflow 1.x.

My testing environment is as follows:

  • Ubuntu 20.04.5 LTS
  • Python 3.8.10
  • Tensorflow version: tf.__version__ is '2.8.0'.
  • Opencv version: cv2.__version__ is '4.6.0'.

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

Successfully merging this pull request may close these issues.

None yet

1 participant