In the output from PDF Properties API, look in the "pages" property. For each page you'll see something like the code below.
Be sure to verify the "is_scanned" boolean by checking if the file has only one image and "only_images" is true. If the file has been OCRed, "has_text" will be true.
{
"page_number": 0,
"is_scanned": true,
"width": 630,
"has_structure": false,
"content": {
"number_of_images": 1,
"only_images": true,
"has_text": false,
"has_images": true,
"is_empty": false
},
"height": 810
}
... View more