Coverage for src/bob/bio/face/database/database.py: 50%
6 statements
« prev ^ index » next coverage.py v7.6.0, created at 2024-07-13 00:04 +0200
« prev ^ index » next coverage.py v7.6.0, created at 2024-07-13 00:04 +0200
1#!/usr/bin/env python
2# vim: set fileencoding=utf-8 :
3# Tiago de Freitas Pereira <tiago.pereira@idiap.ch>
4# Wed 20 July 14:43:22 CEST 2016
6"""
7 Verification API for bob.db.voxforge # yd2022 wat?
8"""
10from bob.bio.base.database.file import BioFile
13class FaceBioFile(BioFile):
14 def __init__(self, client_id, path, file_id, **kwargs):
15 """
16 Initializes this File object with an File equivalent for
17 VoxForge database.
18 """
19 import warnings
21 warnings.warn(
22 "This class is deprecated. please use the bob.bio.base.pipelines.CSVDatabase format and bob.pipeline.Sample.",
23 DeprecationWarning,
24 )
25 super(FaceBioFile, self).__init__(
26 client_id=client_id, path=path, file_id=file_id, **kwargs
27 )