...
...
This is my informal daily notes and story. See milestones for official progress.
Day 1: June 13 2022
- I met Professor Stubbs for the first time in person. He was very tall.
- Based on Elana's suggestion I tried to download Canon Eos Utility to my computer for remote shooting. It turns out the software for 5d Mark IV was not compatible with M1 computers unless a lot of adjustments are made to the camera in a way that it would only work with M1 computers. It is sad that Canon and Apple still did not figure this out. That was quarter of my day.
- I set the wireless triggering system up. However, the documentation and Youtube videos were all showing a different transmitter and receiver combination which made it way harder than it is supposed to be.
- I looked at the manual of the Xenon light and tried to figure out what RTN and Vref meant. Learned it at the end of the day.
- Made a small dummy drawing of a possible circuit that combines the camera trigger system and the flashlight.
- I found a solution for the circuit in which I had to cut a lot of wires.
- Professor Stubbs told me that I did not need to cut a lot of wires and I could use connector.
- After trying to figure out how the connectors would be useful and failing, I decided to call it a day at 6pm.
...
- Any operating system that is above Mac Os Mojave does not initially let terminal application full disk access. That significantly limits what one can do with ssh.
- Pull down the Apple menu and choose ‘System Preferences’
- Choose “Security & Privacy” control panel
- Select the “Privacy” tab, then from the left-side menu select “Full Disk Access”
- Click the lock icon in the lower left corner of the preference panel and authenticate with an admin level login (enter password)
- Click the [+] plus button to add an application with full disk access
- Navigate to the /Applications/Utilities/ folder and choose “Terminal” to grant Terminal with Full Disk Access privilegesOriginal article that explains the reasoning to do this is here: https://osxdaily.com/2018/10/09/fix-operation-not-permitted-terminal-error-macos/
- MacMinis require local login after power shutdown for Mac Os12, I do not know which patch did this necessarily start. To solve this issue autologin must be enabled to MacMini. Some old threads suggest that this was cause by the FireVault. That is not the case anymore. At Mac OS 12 FireVault is just an additional security. The procedure below is the correct way to go!
- Pull down the Apple menu and choose ‘System Preferences’
- Go to "Users and Groups"
- Choose Login Options
- Turn Auto Login On
- Extra Information: You may need an app that automatically starts to start the sharing process. Canon Eos Utility is such a software. As far as I am concerned, steps until d should be enough.
...
- Went back to threads I used to debug the camera problem and shared my solution.
- Cut the necessary pieces for my Green Training Project In The Machine Shop.
- Fixed the timing issue of the pictures taken. Simply, time settings of the camera were wrong. I set the time UTC and fixed it there.
- I wrote a script that takes a directory as input and outputs a csv of the name of the files and their dates.
- That is the only script that is currently running in Mac Mini itself. It uses pandas, ExifRead, and OS.
Here is the script:
Code Block language py import os import exifread import pandas as pd import sys """Takes a directory of files and returns a data frame of files and the time of their creation""" def extract_times(input_path): path = input_path file_list = sorted(os.listdir(path)) dates = [] for file in file_list: path_name = path + '/' + file f = open(path_name, 'rb') # Return Exif tags tags = exifread.process_file(f) dates.append(tags['EXIF DateTimeOriginal']) time_frame = pd.DataFrame({'files': file_list, 'dates': dates}) return time_frame path = sys.argv[1] time_frame = extract_times(path) time_frame.to_csv(path + '_file_times.csv')
- I had setup Miniconda in the MacMini and created a python3.10 environment called 'strobed'.
- Today I installed pandas and ExifRead using conda install.
- IMPORTANT NOTES:
- If you would like to install packages to the 'strobed' environment, use conda install, not pip install.
- If you would like to use the MacMini to analyze other projects, create a conda environment with the names of the project and install the required packages.
August 3:
- Spent all day in the machine shop for Green Training.