(Unofficial) Weekend Project / Hackathon 1: JFK Files

The simple keyword searches wouldn’t need AI. Just OCR and sed + awk.. could probably do that with a oneliner on cli.

Hey, let’s ask chatgpt to solve this with one line of code :rofl:

update

for f in *.pdf; do 
  echo "Processing: $f"
  pdftoppm "$f" temp_page -png && \
  for img in temp_page-*.png; do 
    tesseract "$img" stdout 2>/dev/null | grep -i "lee harvey oswald" && echo "  Match in $f (page ${img#*-})"
  done
  rm temp_page-*.png
done

what I am looking for is stuff like “why was this stupid looking command required to be signed by a cia agent with a very high position”…

unusual stuff…

*ok technically OCR is also AI :face_with_peeking_eye:

2 Likes