Leo Wandersleb on Nostr: No idea yet for the month. I did some programming yesterday - a python script that ...
No idea yet for the month. I did some programming yesterday - a python script that finds and scales all fotos of one person where the face is bigger than 2.5% of the whole picture and the picture is not too blurry. Some back and forth over libraries not being available and "Segmentation fault" not being a helpful crash message and explored using GPU which I gave up on in the end but the script worked well on an example folder of 1600 fotos. Found the 200 fotos I wanted to a fair degree of accuracy. That all cost me $0.66.
And the detailed account activity is just amazing!!
Published at
2024-11-09 14:03:25Event JSON
{
"id": "3dfd13802aae7d050d3d064563842a1ab5a78399aeb81599c9e29ea689322339",
"pubkey": "46fcbe3065eaf1ae7811465924e48923363ff3f526bd6f73d7c184b16bd8ce4d",
"created_at": 1731161005,
"kind": 1,
"tags": [
[
"e",
"454fc7fc232b19b5fb0270143151b52662ddea8395e39e6c8864971326a63a82",
"wss://nos.lol/",
"root"
],
[
"e",
"2546e4360dbaabc4af52a3d506f1762149ff4d881474088ed4c25c1b83ba9944",
"wss://relay.primal.net/",
"reply"
],
[
"p",
"46f6acdf9064234122fa080f5d9ef69573d791048e0b256630f8af296331b6e7",
"",
"mention"
]
],
"content": "No idea yet for the month. I did some programming yesterday - a python script that finds and scales all fotos of one person where the face is bigger than 2.5% of the whole picture and the picture is not too blurry. Some back and forth over libraries not being available and \"Segmentation fault\" not being a helpful crash message and explored using GPU which I gave up on in the end but the script worked well on an example folder of 1600 fotos. Found the 200 fotos I wanted to a fair degree of accuracy. That all cost me $0.66.\n\nAnd the detailed account activity is just amazing!!\n\nhttps://i.nostr.build/jdhmwnp7tdTnKpXL.png",
"sig": "d06bbd1832fb2e01f875b8b3f40d984d92f92956d927a2efb6dec534fe97fca21d98b0145037d5a020ebb1b31f9ef7c94b34ffe1c61daeec51d0b1fccddc45fe"
}