Skip to content

Commit

Permalink
Remove "from abc import ABC" as not available in Python2
Browse files Browse the repository at this point in the history
Fix #80
  • Loading branch information
Tobias-Fischer committed Aug 19, 2020
1 parent 900c78b commit 69dbf5b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rt_gene/src/rt_gene/estimate_gaze_base.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# Licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode)

import os
from abc import ABC

import cv2
import numpy as np
from tqdm import tqdm

from rt_gene.gaze_tools import get_endpoint


class GazeEstimatorBase(ABC):
class GazeEstimatorBase(object):
"""This class encapsulates a deep neural network for gaze estimation.
It retrieves two image streams, one containing the left eye and another containing the right eye.
Expand Down

0 comments on commit 69dbf5b

Please sign in to comment.