🎧 Listen to the Discussion(two hosts talk through their thoughts on this article)
This is an AI-generated audio overview of this article, created with Google NotebookLM. Two hosts discuss the article together, sharing their own thoughts and commentary — it is not a reading of the article text.
At 66, I have just learnt to do, in a single day, a task I had given up on many times, telling myself, 'I would like to, but it must be beyond me.' The task is blacking out only the parts I do not want seen in photographs and PDFs of documents.
I asked Claude to write the instructions, pasted them into Claude Code, and built a semi-automatic redaction tool. With a photograph or a PDF alike, I simply draw a box around what I want hidden with the mouse and it is blacked out. I cannot write programs, but by asking Claude about anything I did not understand and going one step at a time, I processed four documents of a few pages each that same day. Claude Code also built, together with me, a checking tool to confirm that location data and the like did not remain in the saved files.
The documents I wanted to read were right there, but there were too many places to hide before handing them to an AI. Honestly, I did not have the energy to black them out one by one on my phone.
It Began with Wanting an AI to Read My Documents
I keep several important documents overseas. They are packed with English legal terms, and even with my reading glasses on, getting through them is hard work. It occurred to me that life would be easier if Claude transcribed them and translated them into Japanese for me.
But I could not simply send the photographs as they were. Names, addresses, document numbers, and then the barcodes and QR codes. I wanted these hidden before anything was read. Yet there were five or six places to hide on each page, the documents ran to several pages, and there were several photographs too. Painting them out one by one with my phone's editing tools honestly made my heart sink.
In Buddhism there is a word, gufutokuku. It means the suffering of seeking something and not obtaining it. It may sound grand, but those documents shut away on a shelf, wanting to be read yet remaining unread, had been my own small gufutokuku for years.
Gufutokuku is one of the eight sufferings in Buddhist teaching: the pain of longing for something you cannot obtain.
So I asked Claude: 'How can I hide them?'
The First Answer Was a Manual Method
Claude first showed me how to black things out by hand on an iPhone or in Windows. Along the way, it also taught me three things I had not known.
The first was that blurring or pixelating is not enough, and the covering must be solid black. The second was that photographs sometimes carry embedded location data showing where they were taken, and that should be removed as well. The third was that barcodes and QR codes can be decoded back into numbers by a scanner app, so they should be hidden along with the numbers themselves.
Come to think of it, carrying something with its contents concealed is an old piece of human wisdom. Around four thousand years ago, merchants in Mesopotamia placed contracts written on clay tablets inside clay envelopes, pressed their seals on them, and did not let even the carrier see what was inside. Trusting the person who carries something and deciding for yourself how much to show have gone hand in hand since ancient times. I believe having an AI read my documents is exactly the same.
And at the end, one line was added: 'If you have many pages, I can also create a Python script. If you wish, I will prepare an instruction sheet for Claude Code.'
I replied simply, 'Please make it.'
I Received the Instructions and Simply Pasted Them into Claude Code
I pasted the instructions Claude had written straight into Claude Code. I do not understand what is inside the program. Even so, Claude Code explained its design first, and only began writing code after I said, 'Please go ahead with this plan.'
Along the way, I did only three things.
- Show Claude Code's reports to Claude, and have it confirm that everything was all right
- Paste the commands I was given into the Command Prompt
- Draw rectangles with the mouse over the photographs on screen, then press Enter and s
In fact, the very first command I pasted stopped with the message 'path not found'. When I sent Claude a screenshot of the screen, it corrected the command for me, saying, 'The Command Prompt cannot use the symbol ~, so please write out the folder location in full.' A small stumble like this is exactly where the old me would have given up.
Draw a rectangle over the document on screen with the mouse, and that area becomes a target for redaction. QR codes and barcodes are marked automatically with yellow frames, so nothing slips past.
This Is How the Finished Tool Works
Whether photographs or PDFs, you just put them in a folder and paste a single line of command. Each one appears on screen in turn, and you draw around the places you want hidden with the mouse. It does not matter how many places there are. QR codes and barcodes are found automatically and marked in advance with yellow frames. Press Enter and the redacted version is shown, then press s to save.
The saved photographs and PDFs keep no location data and none of the original text data at all. Claude Code also built a verification tool to check this, alongside the main one.
I processed four documents of several pages each before the day was out. What is more, when I sent the redacted documents to Claude, a side-by-side table of the transcription and the Japanese translation came back as a PDF, and it even pointed out the parts of the content I should look at closely. For the first time, the documents I had been avoiding felt like they were truly mine.
Deciding What Not to Show Is What Makes Handing Over Feel Safe
Each time I drew a rectangle with the mouse, I felt a curious satisfaction. This is because that small rectangle is the act of drawing, with my own hand, the line that says 'outside this I entrust to the AI, inside this I keep to myself'. How to live with AI sounds like a grand subject, but I feel its heart may well be packed into this one small rectangle. It is because there is a wall that you can open the gate with an easy mind.
One of the things that surprised me when I began living in Britain was how common household shredders are. It is not unusual for a neighbour to shred even a single envelope with an address on it before throwing it away. In Japan, talk of personal information tends to turn to systems such as My Number, but in Britain, my impression is that it took root as a household habit back in the age of paper. This new tool is, so to speak, my digital shredder.
My Number is Japan's national identification system, which gives every resident a twelve-digit number used for tax and social security.
I do something similar in the garden. Over the strawberries in the raised bed, I put up bird netting before the fruit starts to colour. Because the protection is in place first, I can then look out over the garden without worrying. Hiding something and shutting it away are not the same thing.
Why I Still Pay for AI on a Pension
Learning with generative AI genuinely helps my daily effort to keep my mind and body in order. The documents shut away unread on the shelf were a small weight that settled on my mind every time I remembered them. The night I finally understood what they said, I remember my shoulders relaxing for the first time in a long while. It is the same as reaching first for a homeopathic remedy from the family kit when I feel unwell, because the sense that I can face a problem with my own hands first is, in itself, enough to lighten the heart.
On the other hand, to be honest, AI subscription fees are no light expense for someone living on a pension. With every monthly payment, I sometimes reflect that it amounts to one modest meal out disappearing. Even so, I carry on, because in this way I can reclaim, one by one, the things I had written off as beyond me. Work that would cost a fee each time if I asked a professional has stayed in my hands, tool and all. Above all, what remains is the feeling of 'I did it myself', which is hard to put a price on.
And then there are the new encounters. At my age, encounters are not limited to people. The little tool finished today has no name yet, but it is already a trusted member of my toolbox. Each time a problem arises, the toolbox grows a little richer — one more pleasure added to my later years.
To Those Who Have Given Up in the Same Way
I cannot write programs. Until today, I had never even opened the Command Prompt, because it frightened me. I managed it all the same, because I asked Claude about whatever I did not understand and went forward one step at a time, exactly as I was told.
There are many things I never tried, thinking, 'It must be useful, but it is beyond me.' In this single day, I learnt that the wall is far lower than I had imagined. It is people of my own generation, above all, whom I would like to see give it a try. Supporting one another is not only about exchanging words, because sometimes quietly receiving someone's words is enough to lighten the heart. I would be glad if this record became such a page for someone.
By the way, I have registered the finished tool and its manual in a Claude 'Project'. The next time I need the same work done, I only have to say 'I want to redact something', and Claude will guide me through the steps.
Once the redaction is done, a document can be handed to an AI with an easy mind. Reading it beside the translation that came back, the papers I had been avoiding became my own at last.
The Instructions I Gave to Claude Code
For reference, here are the instructions Claude wrote for me. Everything began with pasting them in just as they are. (The original was in Japanese; this is an English rendering.)
# Request: Please build a tool that redacts personal information in images
## Purpose
Before having an AI read JPEG images and PDFs of important documents,
I want to black out the parts containing personal information. I also want to remove metadata such as location (GPS) data.
I am 66 and want to proceed step by step with visual confirmation, so please explain what you are doing at each step.
## Environment
- Use uv for Python (make the script runnable directly with uv run)
- Write PEP 723 inline metadata at the top of the script and declare the dependencies there
- Working folder: ~/tools/redact/ (create it if it does not exist)
## How the tool should work
1. Running `uv run redact.py input_folder` opens the images and PDFs in the folder one by one
2. Show each image in a window, and let me mark rectangular areas with the mouse as redaction targets
- Allow multiple areas on a single image
- Scale the display to fit the screen, but apply the redaction accurately at the original resolution
- Show the controls on screen (Enter to confirm, Esc to start over, and so on)
3. Search for QR codes and barcodes automatically, and show any found as redaction candidates
(automatic detection is only an aid, so let me add areas manually in case something is missed)
4. Show a preview of the redacted image, and let me choose 'save / redo / skip'
5. Save to input_folder/redacted/, with sequential file names such as redacted_01.jpg
## Rules you must follow
- Never overwrite or modify the original images
- Fill with completely opaque black (RGB 0,0,0); do not use blurring or mosaics
- Apply the smartphone photo orientation data (EXIF Orientation) first, before display and editing
- When saving, include no metadata at all: no EXIF, GPS, XMP or thumbnails
- For PDFs, convert each page to an image and rebuild a new PDF of images only (leave no text data)
## Verification
- Create a test dummy image containing GPS data, and verify that no metadata remains in the output file
- Verify that every pixel in the redacted areas is (0,0,0)
- Write a short README.md in Japanese summarising how to use the tool
## How to proceed
- First explain the overall design and the libraries you will use, and write the code only after you have my approval
- Do not push or delete any files
Other books you might like
You're welcome to take a look.
EAST TO WEST: The Heart of Haiku, the Light of Scripture
It is a book that shows the value of taking time over something that is hard work to read through. This is a book my father-in-law left behind.
View on AmazonCataract Surgery-A Memoir: Double cataract surgery in Osaka, Japan
This is my record of taking a step forward on a choice I had almost given up on. Just as with this redaction project, the wall turned out to be lower than I had thought.
View on AmazonSushi Business in Britain: the complete four-volume series
A novel series following thirty-five years in the British sushi trade, from apprentice to factory manager to a small sushi school. The complete edition offers all four volumes at a better price.