- Place images in
./images
- Run
node extractText.js
- This generates a
results.json
file containing the image path and the extracted text
- Run
convertJSONtoWP.js
- This will generate a WordPress import file with the post title set as the image name, the image as the featured image, and the extracted text as the post body. All posts will be imported as drafts.