DIY

Digitizing old photographic films

Digitizing old films  Digitizing old photographic films Digitizing old photographic films  Digitizing old photographic films Digitizing old photographic films With this device you can view photographic films directly on the TV screen in negative and positive images, save the necessary ones on a digital medium , edit further in graphical programs.
Tools and materials:
-Buttons;
– Raspberry PI 3B;
-RPi camera;
-White LEDs;
-Fasteners;
-Glue;
-Caliper;
-3D-printer;
-Acryl;
-Drill;
-Resistors;
-Wires;
-Connectors;
Step one: adapter
The master has printed the adapter on a 3D printer. A camera is mounted in its upper narrow part. At the bottom there is a window for the film. Before developing it, the master measures one frame per film. The focal length defines 44 mm.
Digitizing old films  Digitizing old photographic films Digitizing old films  We digitize old photographic films Digitizing old films Below you can download the file for adapter printing.
Housing2.STL
Step two: LED panel
The lightbar is very important to get the best photos. The light should be uniform without bright gaps. With it, the film will be illuminated from below.
First, the wizard cuts out a rectangle from acrylic.
We digitize old photographic films Digitizing old films Marks and drills mounting holes .
We digitize old photographic films Digitizing old photographic films  We digitize old photographic films We digitize old photographic films Sands the workpiece. Acrylic is transparent and by grinding the master gets good light diffusion on the acrylic. Sand thoroughly without deep scratches. Each scratch will be displayed on the negative.
We digitize old photographic films Digitizing old films  Digitizing old photographic films LEDs also need to be prepared. The master grinds off the upper part of each of the twelve LEDs.
We digitize old photographic films  We digitize old photographic films Digitizing old films  We digitize old films Adheres LEDs to opposite sides of the panel. There are six for each.
We digitize old photographic films Digitizing old films  We digitize old photographic films Mounts LEDs in parallel. Installs a 100 ohm resistor on each circuit. Will connect to Russerie Pin2 (+ 5V) and Pin6 (GND).
Digitizing old films  We digitize old photographic films We digitize old photographic films Fastens the LED panel to the adapter .
We digitize old photographic films Digitizing old photographic films  We digitize old photographic films Powers the LEDs and checks the operation.
Digitizing old photographic films  We digitize old photographic films We digitize old films Step three: buttons < br> This device only requires two operations. The first is to allow the operator to view and record images. The second is to exit the program.
The wizard decided to use the green button to record and the red button to exit. Buttons connect to pins 14, 16, 18 and 20.
Digitizing old films  We digitize old photographic films Digitizing old photographic films  We digitize old photographic films We digitize old photographic films  We digitize old photographic films Digitizing old films  We digitize old photographic films Digitizing old photographic films Digitizing old films Step four: case
The master also printed the case for the device on a 3D printer.
< a href = "https://usamodelkina.ru/uploads/posts/2020-02/1582130294_1-46.jpg" rel = "prettyPhoto">Digitizing old photographic films  We digitize old photographic films Digitizing old photographic films  We digitize old photographic films Digitizing old photographic films Digitizing old photographic films  We digitize old photographic films Digitizing old photographic films  Digitizing old photographic films Digitizing old films Files for printing can be downloaded below.
Case.STL
CaseCone.STL
CaseTop2.STL
Step five: code for testing
The wizard took the code from the site RaspberryPi.org By default, the image resolution is set to the same as the monitor resolution. The maximum resolution for photos is 2592 × 1944.
Ideally, it is better to use a macro lens, but the master did not receive it in time and installed what it was.
The top of the adapter is designed for the Raspberry Pi V2 camera. It is held in place with 4 screws.
The wizard used the following code for testing:

 from picamera import PiCamera from time import sleep camera = PiCamera () camera.start_preview () camera.awb_mode = & # 39; auto & # 39; camera.image_effect = & # 39; negative & # 39; sleep (150) camera.capture (& # 39; /home/pi/Desktop/negative.jpg') camera.stop_preview ()  

 We digitize old photographic films Digitizing old photographic films  We digitize old photographic films Digitizing old films We digitize old photographic films  Digitizing old photographic films Step six: program code
First open a terminal window and create a new directory, enter “mkdir Conversions”
Open the Python IDE
Enter the following code:

 from picamera import PiCamera from time import sleep from gpiozero import Button button = Button (23) button1 = Button (24) camera = PiCamera () camera.awb_mode = & # 39; auto & # 39; camera.image_effect = & # 39; negative & # 39; camera.start_preview () image = 1 while True & # 58; try & # 58; if button1.is_pressed & # 58; camera.stop_preview () break if button.is_pressed & # 58; camera.capture (& # 39; /home/pi/conversions/Convertion%03d.jpg'% image) image + = 1 except KeyboardInterrupt & # 58; camera.stop_preview () break The wizard has adjusted the images for better quality snapshots. from picamera import PiCamera from time import sleep from gpiozero import Button import datetime import time #date code for saving images date = datetime.datetime.now (). strftime (& # 34;% d_% H_% M_% S & # 34;) # green button button = Button (23) # red button button1 = Button (24) camera = PiCamera () # camera image adjustment and viewing on monitor camera.resolution = (2592, 1944) camera.awb_mode = & # 39; auto & # 39; camera.image_effect = & # 39; negative & # 39; # display image to monitor camera.start_preview () # image saving increment image = 1 while True & # 58; try & # 58; # red exit button if button1.is_pressed & # 58; #camera shutdown camera.stop_preview () break # green button capture if button.is_pressed & # 58; # save image location and formatting camera.capture (& # 39;/home/pi/conversions/conversion & # 39; + date + & # 39;% 03d.jpg & # 39;% image) # image saving increment image + = 1 # keyboard program exit except KeyboardInterrupt & # 58; #camera shutdown camera.stop_preview () break  

Step Seven: Device Operation
Run the code in the IDE. Pressing the green button will take a still image of the negative and store it in internal memory. The images are saved in the directory.
The wizard then moved them to a USB drive and to his computer for processing in Photoshop.
The red button exits the program. You can also control the device by connecting a keyboard.
 We digitize old photographic films We digitize old films  Digitizing old photographic films We digitize old films Digitizing old photographic films  Digitizing old films

Source:

usamodelkina.ru

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button