Skip to content

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.

1 participant