From bd81549ef6e5ff9b32b2ba728700ac02484d54ce Mon Sep 17 00:00:00 2001 From: am0ebe <am0ebe@gmx.de> Date: Mon, 4 Dec 2023 12:19:54 +0100 Subject: [PATCH] . --- b | 2 +- dox/inkscape_notes | 5 -- dox/notes_A | 26 +++++----- dox/todo_tron | 117 +++++++++++++++++++++++++++++++++------------ 4 files changed, 99 insertions(+), 51 deletions(-) delete mode 100644 dox/inkscape_notes diff --git a/b b/b index e91551c..9d42618 160000 --- a/b +++ b/b @@ -1 +1 @@ -Subproject commit e91551c8e49211457e249c5c533affbe04c77475 +Subproject commit 9d4261800f139e6f98c07cdc487ab87561d5560a diff --git a/dox/inkscape_notes b/dox/inkscape_notes deleted file mode 100644 index b53a913..0000000 --- a/dox/inkscape_notes +++ /dev/null @@ -1,5 +0,0 @@ -M = ruler - -> space - -> snap to path and cusp-nodes - -shift + click - select multiple diff --git a/dox/notes_A b/dox/notes_A index f5a10d3..cda2ccc 100644 --- a/dox/notes_A +++ b/dox/notes_A @@ -13,23 +13,8 @@ Does ############################### ## Setup / Preparation ############################### - > prices chamber (4,5,6 big ones) - > research cams - infrared - rugged (temperature) - stream over ethernet, PoE -Hardware setup: - > Thermostat chamber - > cams + lenses - > 2 towers - > with network interface cards - > round tube with camouflage - > thermometer + humidity sensor - - > light? - Software Setup: > deploy to VM -> ssh-connection @@ -37,6 +22,13 @@ Software Setup: -> folder, length, cams.. > +arena: + kg rohr 1m@500mm 162 DN550 https://www.hornbach.de/p/kg-rohr-dn-500-laenge-1-00m/8042036/ + + 55cm gummiring + https://www.amazon.de/Leeadwaey-Barstuhl-Fahrgestell-rutschfeste-Gummiring-rutschfest/dp/B0C1NB1PLD/ref=sr_1_40?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=QCF6AKJ2PTIJ&keywords=gummiring%2B55cm&qid=1695054808&sprefix=gummuring%2B55cm%2Caps%2C98&sr=8-40&th=155cm lamp ring https://www.dannells.com/55cm-circular-lampshade-ringset-2765-p.asp + https://www.amazon.de/Austauschbarer-Gummiring-Rutschfester-Bodenschutz-Gummidichtung/dp/B09XXH9PP8/ref=sr_1_43?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=QCF6AKJ2PTIJ&keywords=gummiring+55cm&qid=1695055336&sprefix=gummuring+55cm%2Caps%2C98&sr=8-43 + @@ -93,6 +85,10 @@ Software Setup: What bandwidth do i have? Do i need multiple ports? bandwith = fps * pixel format(bpp) * resolution (* ncams) StreamBitsPerSecond = 1 * 1456*1936 * 3 * 1 = 8 456 448 ~= 8,4 mbit/s < 125MBps #bits or bytes?? + ALIVIUM RES: 1936*1216 + 3*1936*1216*17 ~= 120 MBps + + PROSILICA 14*3*1936*1456 ~= 118,4 MBps ## max res, 3 bpp -> max FPS: 14! 44*1*1936*1456 ~= 124,1 MBps ## max res, 1 bpp -> max FPS: 44! a 10 min -> 74 GB? diff --git a/dox/todo_tron b/dox/todo_tron index b7e7cf7..194c12e 100644 --- a/dox/todo_tron +++ b/dox/todo_tron @@ -9,39 +9,97 @@ CAMTRON PROCESSING PIPELINE PRIO: -* documentation A - > sketch - > chamber: cam height+resolution+arena diameter for pixel to cm/mm ratio - > lab: chambers+workstations+HPC -> update opencv - -> eval how much work to fix? -> update algorithm for bgs - -> eval how much work to fix? + +> update opencv -> eval how much work to fix? +> update algorithm for bgs -> eval how much work to fix? A) ########################### - # Hardware - > research and buy - > cams - > infrared LEDs - done - > chambers - > interface card (pcie2.1) works on PC? - > 6x cat6 cables (length 5m) - > scales + > TEST CAM! GET RUNNING PICTURES! + 1. setup virtual machine to test + > 8 cores, 16GB RAM, 2 TB for 1cam + > 48 cores, 128GB RAM, 6 TB for 6cam + + 2. use laptopt to test + + 3. (opt/later) setup tower1 (defunct again!) as cheap testing machine! + > get NIC working + > give name connect inet + --> as terminal to connect to server + --> later: use for DMX lighting + + 4. (alternatively) Raspberry Pi + + Q: is option fast enough for processing of 1/3/6 streams simultaneously? + > test bottleneck (CPU,HDD,ethernet,) + > is video compression on? how demanding! + > storage: 1 minute hochrechnen. mit 24/17/12 FPS. + + Q: how should workflow look? + > Option A + 1. record and store (where) + 2. process (where?) + > Option B + 1. record, process (cut ROI to reduce size), store + 2. more processing (R..) + --> what processing. + --> draw picture as doc of workflow + + > light (opt/later) + > find hardware (Boxes, DMX per unit, DMX splitter/controller) + > setup hardware for 1 unit + > check software + > attach IR-LEDs (solder) + + > arenas + > verglasungsfolie + > 1 floor wooden plate with circle >> really needed? + > 1 floor glass plate + > 1 floor wooden plate + + > how to connect seamlessly? + > o-ring: https://www.o-ring.de/o-ring-fpm-90/item-anfragemenge-6-categoryId-or-itemId-100022-search2-580.00-search3--search7-.html + + >> or use poisonous electro-harz zum giessen. Wie Form bauen? + + + + * setup 1 fridge + > attach cam arm to wood + > get video in VV + > get video in SW-A via SDK + > cam calibration + > configure cam settings + * get video for 3 cams in one workstation + > what SW? + > calculate supported framerate+resolution+codec for hardware (CPU,RAM,HDD...) + > or do tests and see if frames are dropped + + + DONT do a diskbench to get writing speed (calculate needed speed with 3 cameras) to see if frames will be dropped or not... + writing speed of one of the workstations is 150MB/sec + prosilica gtx1920 needs 3x 107.53 MB/sec for BGR. 1x for MONO + avi uncompressed + 1280x1280 @ 40 fps is limit for your CPU oO + CPU can compress 47mio pix/second + 17x1936x1456=47mio -> 17fps @ full res + suggested CPU i7 3840 + reduce ROI + + # Documentation + > sketch + > chamber: cam height+resolution+arena diameter for pixel to cm/mm ratio + > lab: chambers+workstations+HPC + > costs. update with what we actually buy! > sketch: technical: cam (QuantumEfficiency) + IRLED > sketch: setup plan for a chamber > copy last setup plan from thomas - #Software - > cam calibration - > configure cam settings - B) recorder (depends on cam in A)!!!) ########################### > use new api Vimba X @@ -144,17 +202,16 @@ D) process scripts > save/load config > Tapter: implement new IBgs ========= - + > infrared LEDs Done ####################### -> update to Qt6 -> hardware: public / sorted -> BANF -> HPC create valid account -> digital grundrisse (measure and plan space) > print > updated skewing -> write mail to fryar (budget MAX 20k) -> print Info: Versions (VimbaApi, OpenCV, Qt) -> update CV version to 4.2 (or 4.5?) +> research WS (see hardware_notes.ods for details like specs. CPU, RAM, SSDs, prices) +> cam aufhaengung + research stativ/tripod: manfrotto arm + clamp + bodenplatte for cams + other stuff to fix cameras > stange +> sensors for temp+humidity (HOBO) +> backup data from towers +> setup tower (displays,cards,cables) -- GitLab