NHMDenmark / Pinned-Insects-workstation

Work on the Pinned Insects workstation and workflow for mass digitisation in Denmark (DaSSCo)
0 stars 0 forks source link

Testing all canon camera setup for alice #93

Open Baeist opened 2 months ago

Baeist commented 2 months ago

Trying out a setup with only canon cameras instead of the 5 raspberry pi's. Goals of this is to check if its more robust and to implement the extra canons cameras with the entomology gui.

So far the results are varied and there are a lot of issues. Things to note: -Implementing new cameras with the gui is relatively easy.

Current ideas for more testing includes checking if the actual camera settings could be causing the issues with the photos not correctly being saved. Switching the hardware around to check if that is causing the failure(memory card and camera lens). Testing a 4 raspberry pi, 3 canon camera setup or 3 raspberry pi, 4 canon setup. Addding the 7th canon camera to the test- would likely want another lens available for this since borrowing from the second pinned insect station isnt ideal.

@bhsi-snm @PipBrewer @Gomismis @chelseagraham @ThomasAlscher1991 @k-zamzam

PipBrewer commented 2 months ago

I would suggest throughly exploring the all-canons set up for now and resolving issues, so we have a full proper test and baseline, before complicating the situation further (e.g., mixing pis and canons). We could test same memory cards, lenses and models (including hiring for a day or two).

@Gomismis in conjunction with @Baeist perhaps you could reach out to NHM (London)? I think they have all canons in their ALICE set up. What are their solutions for e.g., USB controller. Have they encountered these issues before?

Baeist commented 2 months ago

Anders came by and suggested we try an opensource app called digicamcontrol that runs on windows(written in C#). So i tried that and it works really well with the canons. Downside to this would be that it wont work at all with any raspberry pi´s out of the box. We could build a module that would allow this. It has some pretty great features such as inbuilt barcode scanner that allows you to scan and then press one button and all cameras shoot and has barcode added to their filename. Liveview of the cameras you specify and also easily configurable interface for choosing cameras in general. You can change pretty much all the settings on the cameras. It is automatically set up to run session based shooting where you can specify additional information. The UI itself is much nicer to look at than the entomology gui. It can do stacked images(bracketed) and it does not appear to be especially slow. There is reasonable documentation for how to use it.

Gomismis commented 2 months ago

That is amazing news, @Baeist! As we were talking about yesterday, I read the articles that NHM/London made about their ALICE setup. Their cameras are tethered in parallel using DSLR Remote Pro Multi-Camera v. 1.9 (https://www.breezesys.com/solutions/breeze-multi-camera-non-event/ used for their setup). This system costs $490 and can connect up to 100 cameras. They also mentioned that DigiCamControl v.2.1.0 was tested briefly and found to be a sustainable, free, multi-camera tethering alternative.

Gomismis commented 2 months ago

@PipBrewer, should I still contact NHM/London, or should I wait until we are further along in the physical development process? I have already noted several questions regarding their setup/development, that I would love ask them.

Baeist commented 2 months ago

Tested the entomology gui with 7 canons connected and 6 that were able to shoot (missing one lens for the last camera, and the last pinned insect was in use all day so couldnt borrow the last lens). This worked fine when cameras were newly switched on.

Image

Discovered that the mac/cameras sometimes changes the ports assigned to the cameras seemingly at random but almost always when a command is given through the ghoto2 cli (fex port change from usb:001,002 to usb:001,001). This caused some very strange behavior. Trying to get the camera names(the ones we have set and uses to identify each canon with) i had multiple cases where one camera name was given twice or more. So what i think happens is that the port is switched or changed around between the calls to get the names and this somehow made this possible (the calls has to happen sequentially even with a shell script). I also think this might be the cause of cameras sometimes disconnecting or becoming unresponsive until they are turned off/on again.

Baeist commented 2 months ago

Borrowed the last lens from the other pinned insect station. Ran a test of automatically shooting a full set of 7 images every 30ish seconds 60 times. This concluded successfully.

Before that there was an issue with the dassco0063 camera that gave an internal communication error 70 (happened maybe 5-6 times while running pre tests). This is a known issue with the canon EOS R5 camera and if it persists we will have to send the camera to a canon shop.

There are still issues with the port numbers changing and the cameras can have problems connecting to the gui after the gui has been restarted or the camera has been reconnected without being turned off/on.

Gomismis commented 2 months ago

@Baeist is the above mentioned test only done with the GUI or also with DigiCamControl?

PipBrewer commented 2 months ago

@PipBrewer, should I still contact NHM/London, or should I wait until we are further along in the physical development process? I have already noted several questions regarding their setup/development, that I would love ask them.

You are more than welcome to contact them and ask lots of questions, at multiple steps along the way, no need to ask

bhsi-snm commented 2 months ago

@Gomismis test was done with both, but Digicam control app needs a windows pc which is not available upstairs(you could basically use your own laptop) but the whole thing is set up with Mac for testing with Entomologui for now.

Baeist commented 1 month ago

Created another branch 4pis3canons that allows the guid to display 4 pi-eyes and 3 canons. The setting of the settings inside the gui were not updated so you have to be careful not to choose cameras/pis that are not actually connected when creating camera settings. Current setup works for top, side and dassco 0024 canon cameras and beetle, cicada, dragonfly and earwig raspberry pis cameras.

Baeist commented 3 weeks ago

Created another branch Test6Canons that displays 6 canons, one of which is the R10 that i think we have borrowed from somewhere. I "accidentally" changed the names of two cameras formerly known as Top and Side to their dassco names. This can be undone by connecting only that camera to the pc and using: sudo gphoto2 --set-config ownername=name , use: sudo gphoto2 --get-config ownername , to see if it worked. If you want to use any of the other branches again changing back to Top and Side as names is needed.