Skip to content

Instantly share code, notes, and snippets.

@kailashbadu
Last active August 29, 2015 14:23
Show Gist options
  • Save kailashbadu/82ac2161771d80a5152a to your computer and use it in GitHub Desktop.
Save kailashbadu/82ac2161771d80a5152a to your computer and use it in GitHub Desktop.
IPSA
/** final output is just a combination of previous stations **/
{
"ticket_number" : "19830747",
"ticket_date" : "05/19/2014",
"city" : "SAN JUAN",
"plate_number" : "FXR671",
"license" : "6426957",
"registration": "6298368",
"law_code" : "22",
"cost": "25"
}
/* default input */
{
"identifier" : "'0110291999000289",
"image_url" :
"http://cfipsa.s3.amazonaws.com/production3/20150123/tipo001/5023109672.jpg",
"batch_identifier" : "20150123_GRB_tipo001",
"accusoft" : true
}
/*default_output*/
{
"marked_items" : {
"ticket_number" : {"x" : "", "y" : "", "h" : "", "w" : ""},
"ticket_date" : {"x" : "", "y" : "", "h" : "", "w" : ""},
"ticket_type" : {"x" : "", "y" : "", "h" : "", "w" : ""},
"city" : {"x" : "", "y" : "", "h" : "", "w" : ""},
"identification" : {"x" : "", "y" : "", "h" : "", "w" : ""},
"law_code_and_price" : {"x" : "", "y" : "", "h" : "", "w" : ""},
}
}
}
/**marker output can directly be used in slicer */
{
"marked_items" : {
"ticket_number" : {"x" : "", "y" : "", "h" : "", "w" : ""},
"ticket_date" : {"x" : "", "y" : "", "h" : "", "w" : ""},
"ticket_type" : {"x" : "", "y" : "", "h" : "", "w" : ""},
"city" : {"x" : "", "y" : "", "h" : "", "w" : ""},
"identification" : {"x" : "", "y" : "", "h" : "", "w" : ""},
"law_code_and_price" : {"x" : "", "y" : "", "h" : "", "w" : ""},
}
}
}
{
"marked_items" : {
"ticket_number" : {
"url" : "http://image.cf.com/12314.png",
},
"ticket_date" : {
"url" : "http://image.cf.com/12314.png",
},
"ticket_typeticket_type" : {
"url" : "http://image.cf.com/12314.png",
},
"city" : {
"url" : "http://image.cf.com/12314.png",
},
"identification" : {
"url" : "http://image.cf.com/12314.png",
},
"law_code_and_price" : {
"url" : "http://image.cf.com/12314.png",
},
}
}
/** flatten the array so that it can readily be used in the task forms**/
{
"ticket_number" : "http://image.cf.com/12314.png",
"ticket_date" : "http://image.cf.com/12314.png",
"ticket_type": "http://image.cf.com/12314.png",
"city" : "http://image.cf.com/12314.png",
"identification" : "http://image.cf.com/12314.png",
"law_code_and_price" :"http://image.cf.com/12314.png"
}
/** PRPT Ticket Number V2 **/
{
"ticket_number" : "19830747",
}
/** PRPT Ticket Date V2 **/
{
"ticket_date" : "05/19/2014",
}
/** PRPT Ticket Date Review V2 **/
/** Task 1 **/
{
"flagged_items" : []
}
/** Task 2 **/
{
"flagged_items" : []
}
/** PRPT Ticket Type **/
/** It is empty **/
{
}
/** PRPT City **/
{
"city" : "SAN JUAN"
}
/** PRPT Identification **/
{
"plate_number" : "FXR671",
"license" : "6426957",
"registration": "6298368"
}
/** Law Code and Price **/
{
"law_code" : "22",
"cost": "25",
}
{
"identifier" : "'0110291999000289",
"image_url" :
"http://cfipsa.s3.amazonaws.com/production3/20150123/tipo001/5023109672.jpg",
"batch_identifier" : "20150123_GRB_tipo001",
"accusoft" : true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment