Spaces:
Sleeping
Sleeping
Upload 9 files
Browse files- __init__.cpython-312.pyc +0 -0
- __init__.py +3 -18
- classes.cpython-312.pyc +0 -0
- emotion_model.hdf5 +0 -0
- emotionsmultilanguage.cpython-312.pyc +0 -0
- fer.cpython-312.pyc +0 -0
- haarcascade_frontalface_default.xml +0 -0
- mmod_human_face_detector.dat +0 -0
- utils.cpython-312.pyc +0 -0
__init__.cpython-312.pyc
ADDED
Binary file (393 Bytes). View file
|
|
__init__.py
CHANGED
@@ -22,24 +22,9 @@
|
|
22 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23 |
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
24 |
# SOFTWARE.
|
25 |
-
import logging
|
26 |
-
|
27 |
-
from .classes import Video
|
28 |
-
from .fer import FER
|
29 |
-
|
30 |
-
log = logging.getLogger("fer")
|
31 |
-
log.setLevel(logging.INFO)
|
32 |
-
|
33 |
-
__version__ = "22.5.1"
|
34 |
-
|
35 |
-
__title__ = "fer"
|
36 |
-
__description__ = "Facial expression recognition from images"
|
37 |
-
__url__ = "https://github.com/justinshenk/fer"
|
38 |
-
__uri__ = __url__
|
39 |
-
__doc__ = __description__ + " <" + __url__ + ">"
|
40 |
|
41 |
__author__ = "Justin Shenk"
|
42 |
-
__email__ = "[email protected]"
|
43 |
|
44 |
-
|
45 |
-
|
|
|
|
22 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23 |
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
24 |
# SOFTWARE.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
__author__ = "Justin Shenk"
|
|
|
27 |
|
28 |
+
|
29 |
+
class InvalidImage(Exception):
|
30 |
+
pass
|
classes.cpython-312.pyc
ADDED
Binary file (18.9 kB). View file
|
|
emotion_model.hdf5
ADDED
Binary file (873 kB). View file
|
|
emotionsmultilanguage.cpython-312.pyc
ADDED
Binary file (1.05 kB). View file
|
|
fer.cpython-312.pyc
ADDED
Binary file (13.5 kB). View file
|
|
haarcascade_frontalface_default.xml
ADDED
The diff for this file is too large to render.
See raw diff
|
|
mmod_human_face_detector.dat
ADDED
Binary file (730 kB). View file
|
|
utils.cpython-312.pyc
ADDED
Binary file (4.62 kB). View file
|
|