Why?
Amazon doesn’t allow sharing long passages from the Kindle app past a certain limit.
What?
- Enable capturing long passages from Kindle app.
- Use native screenshot feature of phones to capture passages.
- Parse passages from screenshots.
- Share to social media.
Strengths
- Robust because screenshot feature exists on most phones.
Weaknesses
- Parsing passages from screenshots is a hard computer vision problem.
Opportunities
- Cognitive Services can be used to solve the computer vision problem.
- Competitors like Liner cannot extract passages from Kindle app.
- OneShot for iPhone App doesn’t exist anymore.
Threats
- Amazon may shut it down.
Development Environment
How to Setup a LAMP Development Environment
Restore Dependencies
Prototype
Use Native Screenshot Feature of Phones to Capture Passages
Use form to upload image.
Parse Passages From Screenshots
Build the request and send it. Print out the parsed text alongside the image and raw response to enable validation.
The pictures variable references the input element with the same name.
The tmp_name variable references the path where the file is temporarily stored.
Build the Request
Replace <Subscription Key> with your Cognitive Services subscription key.
Use file_get_contents to get the raw file data. Use application/octet-stream as the request Content-Type to send raw file data.
Print the Passages
Print the Image
Render the image using data:image/jpeg;base64 encoding so we don’t have to permanently store the image on the server.
Further Work
- Draw bounding box outlines.
- Format paragraphs.
- Support sharing.
- Support multiple screenshots.
- Host the tool as a service.
- SEO.
- AdSense.
Works Cited
Clean up your local branches after merge and delete in GitHub
Composer – Installation – Linux / Unix / macOS
https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos
You must log in to post a comment.