Look at digitalSourceType C2PA info
This commit is contained in:
parent
b7875944f1
commit
6b56fe61fa
9 changed files with 189 additions and 82 deletions
|
|
@ -4,10 +4,18 @@ export type AIInferenceResult = {
|
|||
humanProbability: number;
|
||||
}
|
||||
|
||||
export const C2PASourceTypeScreenCapture = "http://cv.iptc.org/newscodes/digitalsourcetype/screenCapture";
|
||||
export const C2PASourceTypeDigitalCapture = "http://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture";
|
||||
export const C2PASourceTypeComputationalCapture = "http://cv.iptc.org/newscodes/digitalsourcetype/computationalCapture";
|
||||
export const C2PASourceTypeCompositeCapture = "http://cv.iptc.org/newscodes/digitalsourcetype/compositeCapture";
|
||||
export const C2PASourceTypeTrainedAlgorithmicMedia = "http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia";
|
||||
export const C2PASourceTypeCompositeWithTrainedAlgorithmicMedia = "http://cv.iptc.org/newscodes/digitalsourcetype/compositeWithTrainedAlgorithmicMedia";
|
||||
|
||||
export type C2PAActionsAssertion = {
|
||||
actions: {
|
||||
action: string;
|
||||
softwareAgent?: string;
|
||||
digitalSourceType?: string;
|
||||
}[];
|
||||
}
|
||||
|
||||
|
|
@ -23,9 +31,18 @@ export type C2PAManifest = {
|
|||
}
|
||||
}
|
||||
|
||||
export type C2PAValidationResults = {
|
||||
activeManifest?: {
|
||||
failure: any[];
|
||||
success: any[];
|
||||
informational: any[];
|
||||
}
|
||||
}
|
||||
|
||||
export type C2PAManifestInfo = {
|
||||
active_manifest: string;
|
||||
manifests: {[key: string]: C2PAManifest};
|
||||
validation_results?: C2PAValidationResults;
|
||||
}
|
||||
|
||||
export type C2PAData = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue