A few years ago i wrote a photo manager .. again .. ( see post about my first previous photo manager ) It is a web gui to find photos in my huge photo archive. I manually added 190k tags to 120k photos in 20+ years.
I thought wouldn’t it be nice if i can generate additional metadata using Machine Learning. A few years ago i did some testing and followed a podcast and free course about machine learning.
So today i started to implement a addition to my gui. Machine recognition tags!
It already kinda works.
Things to do :
Make it a background job, my fileserver doesn’t run Tensorflow on a GPU, so it is slooow
Embed in existing GUI and stats
Design a editor to remove wrong tags
Below a part of ML images
Command to get a thumbnail sheet with only directory names:
I made two scripts, which take a movie, find out its lenght divide by 9. And generates a image montage of snapshots at certain times in the movie. ( A movie of 90 minutes, gets a snapshot every 10 minutes )
Example of snapshots of a movie
Below takes images as above and convert them into animated gifs. All movies in a path or directory structure gets a index page containing all animated gifs.
Example of generated directory index
I’ll post something about my media sorter also. A ajax website using drag drop viewing/sorting images (png/gifs/jpgs) and movies.
I made a little script to make a 360 spherical panorama photo, using a remote controlled IP cam,
Looking at the API CGI, i only needed to control the movement of the camera and getting a snapshot.
Point camera down
Point camera maximal left
Take picture
Point a little to the right
Take picture, loop until max right
Point a little more up and go max left
Doing same loop as above, until pointing maximal up
Made a little animation in blender
After getting all those pictures, i only needed to stitch them using Hugin. When viewing the image with VR Glasses, i could look around my room, without image distortion, like below flattend example.
The ipcam generates a token, which you have to use in your curl commands.
Started to play in a pipeband myself when i was 14, so it made some impression alright!
(Short version)
Sometimes i have to be a little creative .. 8mm from the 70s are not always the correct width (snipping the 8mm into two parts while producing), so it get’s stuck. This helps
Changed some code controlling my wacom drawing tablet. I use this one to draw Art, diagrams and touch up photo’s.
When using multiple screens, i had the problem it would stretch the draw area over multiple screens, streching the ratio. Or it took the work screen to work on.
#!/bin/bash
# using xinput here, check post about two mouses/keyboards on one machine
# Use xrandr to check names check
MONITOR="DP-1"
PAD_NAME='Wacom BambooFun 6x8 Pad pad'
#undo
xsetwacom --set "$PAD_NAME" Button 1 "key +ctrl +z -z -ctrl"
xsetwacom --set "$PAD_NAME" Button 2 "key e"
xsetwacom --set "$PAD_NAME" Button 3 "key h"
ID_STYLUS=`xinput | grep "Pen stylus" | cut -f 2 | cut -c 4-5`
xinput map-to-output $ID_STYLUS $MONITOR
ID_STYLUS_2=`xinput | grep "Pen eraser" | cut -f 2 | cut -c 4-5`
xinput map-to-output $ID_STYLUS_2 $MONITOR
exit 0
While on holiday in New Zealand i made photos of a rock i found on the campsite we where. Nothing special about the rock, but it was a nice subject to try to replicate.
So i took many many pictures of the stone from all sides.
Imported those images in meshroom and convered it to a 3D stl object.
While traveling New Zealand we went to see Mt Taranaki
Mount Taranaki (Māori: Taranaki Maunga), also known as Mount Egmont, is a dormant stratovolcano in the Taranaki region on the west coast of New Zealand’s North Island. It is the second highest point in the North Island, after Mount Ruapehu.
I’ve got some old 8mm film from my father. And i wanted to digitise them. Luckily he had some projectors. One was his own and a borrowed one. Don’t know about the third one.
Not being used for 30+ years, none of them worked.
So i took them apart and tried to fix them.
Most of them had a driving belt issue, and two of them needed a new bulb.
In the end I had three working projectors. Let the digitising begin!
I started off with putting a Nikon camera beside it and selecting 24 frames/second and putting the speed dial just right .. i got a decent recording.
Tips:
Most drive belts still can be bought, sometimes you have to search for an alternative with same dimensions.
Measure the resistance of the power connector. The old transformers could have a shorted connection. (cause: dried out insulation of copper wires)
Use a pressurized can of air to clean the insides.
Keep track of the parts when disassembling. Those things are not made to be easy fixed.
Below a uncut/unaltered recording, so the media needs some cropping! I love the authentic shutter sound!