tensorbay.opendataset.HKD#

tensorbay.opendataset.HKD(path)[source]#

HKD dataset.

The file structure should be like:

<path>
    AnnotatedData_subject1/
        CropImages/
            subject1_fingercount_cropframe_2.jpg
            subject1_fingercount_cropframe_3.jpg
            ...
            subject1_fingercount_cropframe_210.jpg
        subject1_fingercount_2D_Annotations_cropped.csv

    AnnotatedData_subject2/
        CropImages/
            subject2_fingercount_cropframe_2.jpg
            subject2_fingercount_cropframe_3.jpg
            ...
            subject2_fingercount_cropframe_207.jpg
        subject2_fingercount_2D_Annotations_cropped.csv

    AnnotatedData_subject3/
        CropImages/
            fingerappose_subject3_cropframe_2.jpg
            fingerappose_subject3_cropframe_3.jpg
            ...
            fingerappose_subject3_cropframe_235.jpg
        fingerappose_subject3_2D_Annotations_cropped.csv

    AnnotatedData_subject4/
        CropImages/
            subject4_cropframe_2.jpg
            subject4_cropframe_3.jpg
            ...
            subject4_cropframe_147.jpg
        subject4_2D_Annotations_cropped.csv
Parameters

path (str) – The root directory of the dataset.

Returns

Loaded Dataset instance.

Return type

tensorbay.dataset.dataset.Dataset