You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

This article will describe the details about integrating already generated metadata with Clowder.

  Background

At the time of writing this document, there are about 171,000 images that were processed for extracting various features like faces, eyes, facial profile, close ups, printed text, presence of Stryker hole, presence of border, mean and standard deviation of grayscale values, subject details, photographer details, and category details. These are being done on Comet by using stripped down version of Clowder Extractors or in certain cases, by creating new standalone programs. Integrating this information with Clowder is important to use its features like RESTful API, authentication and authorization, available visualizations, etc.

  PyClowder2

Write a short note about PyClowder2  - the latest version of Python library for writing Clowder extractors 

 Data Tables

The following set of data tables contain extracted metadata. Description of those tables are provided to understand the contents of the table

CategoryInfo

Sl. No.Database Column NameField DescriptionRemarks
1idLOC IndexString;
2categoryLOC Category number (other_number field in the image JSON document)String;

CreatorInfo

NOTE: some creators are empty strings, so it might take some refinement. 

Sl. No.Database Column NameField DescriptionRemarks
1idLOC IndexString;
2nameCreator name in the format: <last name>, <first name>, <birth year> - <death year>. If the creator name is blank the value is NULL.String;
3year_monYear and month (abbreviated in certain cases) in which the photograph was taken in the format: <year> - <month | month1 - month2 | season >String; Some year - month values are like '[between 1940 and 1946]'

FacesInfo

Sl. No.Database Column NameField DescriptionRemarks
1idLOC IndexString;
2imghtImage heightFloat;
3imgwidImage widthFloat;
4dumb1

The letter F, it's only there to help browse raw data

String;
5num_facesNumber of faces foundInteger;
6face_segsBounding box location of faces

String; this is a text string that has the ith face, x, y, width, height of face segment
-- each face segment is separated by a semi colon.

7dumb2The letter P, it's only there to help browse raw dataString;
8num_profilesNumber of profiles foundInteger;
9prof_segsBounding box location of profilesString;
10dumb3The letter Y, it's only there to help browse raw dataString;
11num_eyesNumber of eyes foundInteger;
12eye_segsBounding box location of eyesString;
13dumb4The letter C , it's only there to help browse raw dataString;
14num_fullclsNumber of face full closeupsInteger; 'FULL' is relative to image size
15num_midclsNumber of face mid closeupsInteger; 'MID' is relative to image size
16num_fullprofNumber of profile full closeupsInteger; 'FULL' is relative to image size
17num_midprofNumber of profile mid closeupsInteger; 'MID' is relative to image size

ImageProperties

Sl. No.Database Column NameField DescriptionRemarks
1idLOC IndexString;
2holePresence of Stryker holeBoolean;
3borderPresence of borderBoolean;
4meangrayMean of grayscale values (not including hole and border)Float;
5stdgrayStandard deviation of grayscale values (not including hole and border)Float;

ImageFilesList

Sl. No.Database Column NameField DescriptionRemarks
1fileidFile ID (Serial number)Integer;
2idLOC IndexString;
3cometfnFilename in CometString;
4locurlURL of the photograph in LOC websiteString;

OCRInfo

SubjectInfo 

  • No labels