Posts

From Public Images to Token-Based Access: A Hospital Prescription Image Security Upgrade

Image
  1. Project Background: A Seemingly Simple QR Code Access System Recently, I worked on a hospital-related project designed to let patients view prescription medication images by scanning QR codes. The workflow was relatively straightforward. Hospital staff could upload prescription images, add descriptions, and generate a QR code for each patient's prescription page. The QR code would then be included with the medication package and sent to the patient. After receiving the medication, the patient could simply scan the QR code using a smartphone to view the corresponding prescription images and related information. The original workflow looked like this: Hospital staff manage prescription information through an administration panel. They upload prescription images and enter descriptions using a rich text editor. The system generates a corresponding webpage and QR code. The QR code is sent to the patient together with the medication. The patient scans the QR code to view the prescri...

Building a Digital Script Marker: Solving Text Matching and Duplicate Issues

Image
1. Project Background During digital human video production, scripts are not only used to define what the digital presenter says. They also help determine where additional video materials, such as cutaway shots, sample footage, or other visual elements, should be inserted. To make this process easier, a script marking tool is needed. It allows users to identify specific lines in the original script and mark the corresponding positions for subsequent video editing. The initial requirement was to build a lightweight tool using native HTML, CSS, and JavaScript. It does not depend on a backend service. Users simply paste the original script into the page, select the lines they want to mark, and let the program locate those lines automatically. At first glance, this seems like a relatively simple task. However, several problems emerged during actual use: The number of markers and their positions cannot be predefined. The same dialogue may appear multiple times in a script, and different occ...