lemmy.net.au

45 readers
1 users here now

This instance is hosted in Sydney, Australia and Maintained by Australian administrators.

Feel free to create and/or Join communities for any topics that interest you!

Rules are very simple

Mobile apps

https://join-lemmy.org/apps

What is Lemmy?

Lemmy is a selfhosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Think of it as an opensource alternative to reddit!

founded 1 year ago
ADMINS
576
577
578
579
 
 

Frigate is NVR software with motion detection, object detection, recording, etc.. It has matured a lot over the past couple of years and I'm really happy with it.

I've been running Frigate for a while, but with version 0.17.0 it sounded like things have changed enough for me to update how I do things. I'm writing all of the following in case anyone else is in the same boat. There's a lot to read, but hopefully it helps make sense of the options.

Keeping my camera feeds the same, I was interested in switching my object detector from a Google Coral to the embedded graphics in my 13th gen Intel CPU. The main reason for this was because the Google Coral was flaky and I was having to reboot all the time. Maybe because I run Frigate in a virtual machine in Proxmox, so the Coral has to be passed through to the VM? Not sure.

I also wanted to figure out how to get the camera streams to work better in Home Assistant.

Switching from Google Coral to OpenVINO

This was relatively straight forward. I mostly followed these directions and ended up with:

detectors:  
  ov:  
    type: openvino  
    device: GPU  

Switching from the default to YOLOv9

Frigate comes with some default ability to detect objects such as person and car. I kept hearing that YOLOv9 was more accurate, and they even got YOLOv9 working with Google Coral devices, just with a limited set of objects. So, I wanted to switch.

This took me a minute to wrap my head around since it's not enabled out of the box.

I added the following to my config based on these directions :

model:  
  model_type: yolo-generic  
  width: 320 # <--- should match the imgsize set during model export  
  height: 320 # <--- should match the imgsize set during model export  
  input_tensor: nchw  
  input_dtype: float  
  path: /config/model_cache/yolo.onnx  
  labelmap_path: /labelmap/coco-80.txt  

... except for me the yolo file is called yolov9-t-320.onnx instead of yolo.onnx... but I could have just as easily renamed the file.

That brings us to the next part -- how to get the yolo.onnx file. It's a bit buried in the documentation, but I ran the commands provided here. I just copied the whole block of provided commands and ran them all at once. The result is an .onnx file in whatever folder you're currently in.

The .onnx file needs to be copied to /config/model_cache/, wherever that might be based on your Docker Compose.

That made me wonder about the other file, coco-80.txt. Well, it turns out coco-80.txt is already included inside the container, so nothing to do there. That file is handy though, because it lists 80 possible things that you can track. Here's the list on github.

I won't go over the rest of the camera/motion configuration, because if you're doing this then you definitely need to dive into the documentation for a bunch of other stuff.

Making the streams work in Home Assistant

I've had the Frigate integration running in Home Assistant for a long time, but clicking on the cameras only showed a still frame, and no video would play.

Home Assistant is not on the same host as Frigate, by the way. Otherwise I'd have an easier time with this. But that's not how mine is set up.

It turns out my problem was caused by me using go2rtc in my Frigate setup. go2rtc is great and acts as a re-streamer. This might reduce bandwidth which is important especially for wifi cameras. But, it's optional, and I learned that I don't want it.

go2rtc should work with Home Assistant if they're both running on the same host (same IP address), or if you run the Docker stack with network_mode: host so it has full access to everything. I tried doing that, but for some reason Frigate got into a boot loop, so I changed it back to the bridge network that I had previously.

The reason for this, apparently, is that go2rtc requires more than whatever published ports they say to open in Docker. Maybe it uses random ports or some other network magic. I'm not sure.

The downside of not having go2rtc is that the camera feeds in the Frigate UI are limited to 720p. I can live with that. The feeds in Home Assistant are still full quality, and recordings are still full quality.

By removing go2rtc from my config, Home Assistant now streams directly from the cameras themselves instead of looking for the go2rtc restream. You may have to click "Reconfigure" in the Home Assistant integration for the API to catch up.

Hope this helps. If not, sorry you had to read all of this.

580
 
 

For four days last August, a thick slick of maroon bruised the waters of the Gulf of Maine. The scene, not unlike a toxic red tide, was the result of 65,000 litres of an alkaline chemical, tagged with a red dye, that had been deliberately pumped by scientists into the ocean.

Though it sounds perverse, the event was part of a scientific experiment that could advance a technology to combat both global heating and ocean acidification. Ocean alkalinity enhancement (OAE), as the approach is called, acts like natural weathering, but on human – rather than geological – timescales.

“The ocean is already incredibly alkaline. [It holds] 38,000bn tonnes of carbon, stored as dissolved bicarbonate, or baking soda,” says Adam Subhas, the lead oceanographer of the research team who announced early results from their test at the AGU Ocean Sciences Meeting in Glasgow.

Boosting this natural alkalinity using a chemical antacid should, in theory, encourage the ocean to absorb more carbon. Over a large surface area, and in combination with sharp emissions reductions, OAE could prevent global temperatures exceeding 2C above preindustrial levels, while locally reducing ocean acidity, which is now higher than at any point in the past million years and poses a dire threat to marine life and fisheries.

581
582
583
 
 

cross-posted from : https://lemmy.zip/post/60490540

584
585
586
 
 

When Iranian Foreign Minister Abbas Araghchi said Tehran had spent two decades studying US wars to build a system that could keep fighting even if the capital was bombed, he was describing more than resilience; he was outlining the logic of Iran’s defence doctrine.

At the centre of that doctrine is what Iranian military thinkers call “decentralised mosaic defence” – a concept built on one core assumption: that in any war with the United States or Israel, Iran may lose senior commanders, key facilities, communications networks and even centralised control, but must still be able to keep fighting.

587
588
589
590
591
 
 

Until 1970, the US dumped an estimated 17,000 tons of unspent chemical weapons from World War I and II off the coast of the Atlantic Ocean—and that disposal decision continues to haunt commercial fishing operations.

In an article published this week in the Morbidity and Mortality Weekly Report, health officials from New Jersey and the Centers for Disease Control and Prevention report that there were at least three incidents of commercial fishing crews dredging up dangerous chemical warfare munitions (CWMs) off the coast of New Jersey between 2016 and 2023.

592
593
594
595
 
 

HyperNormalisation is a 2016 BBC documentary by British filmmaker Adam Curtis. It argues that following the global economic crises of the 1970s, governments, financiers and technological utopians gave up on trying to shape the complex "real world" and instead established a simpler "fake world" for the benefit of multi-national corporations that is kept stable by neoliberal governments.

596
 
 

On 9 September 2022, Lucia Osborne-Crowley flew from London to Miami and caught a Greyhound bus north to West Palm Beach. The writer and journalist had arranged to meet Carolyn Andriano, who was abused by Jeffrey Epstein and Ghislaine Maxwell from the age of 14 until she was 17, starting in 2001. Andriano had been a crucial witness in the trial against Maxwell in 2021.

When the two women met, Andriano said she had just been visited by a private investigator – a man in his 60s, who had heard she was talking to someone about a book. In a restaurant that afternoon, Osborne-Crowley was approached by a man in his 60s. What was she writing, he wanted to know. He offered her drugs, cash and a meeting with one of Epstein’s pilots, then put his hands under her skirt. When the manager asked him to leave, he waited in the car park; Osborne-Crowley had to escape through a staff exit.

She had been following the Epstein case for six years by then and had written a book about the Maxwell trial, The Lasting Harm; this was just a taste of what others had experienced. In November 2025, 28 Epstein survivors released a statement saying many of them had received death threats. They all asked for police protection.

With Epstein dead and Maxwell in jail, who was paying these men? “It could be any of the people who are not yet facing charges,” says Osborne-Crowley when we meet. “Firstly, they can afford it. The weekend I was in Miami, there was a person following me, a person following a survivor in South Africa who was in my book, and a person following a survivor in the UK. Just so that we all were aware.” Two women withdrew from The Lasting Harm after receiving threats. “Ghislaine used to tell them: ‘If you ever tell anyone what’s going on here, no matter how far into the future, we will find you and we will stop you.’ And in a lot of ways, that promise was kept.”

Andriano died in a hotel in May 2023, eight months after Osborne-Crowley’s visit. The autopsy recorded an accidental overdose of methadone and fentanyl. It was a shock to those who knew her. “She’d been clean for so long and I spoke to her the day before,” says Osborne-Crowley. “It didn’t feel like she was about to relapse for the first time in 10 years.”

597
 
 
598
599
 
 

The European Commission has launched TraceMap, an AI platform that allows national authorities to detect food fraud, trace contamination, and speed product recalls.

600
 
 

cross-posted from: https://lemmygrad.ml/post/10980696

"Setareh Sadeghi, assistant professor of World Studies at the University of Tehran, speaks to The Grayzone's Max Blumenthal from Isfahan, Iran as her country defends itself against a vicious combined assault by the US and Israeli militaries."

"Sadeghi addresses the teachings and legacies of the late Ayatollah Ali Khamenei, and explains how his assassination has galvanized the Shia masses and united Iran in a battle for its national integrity. "

view more: ‹ prev next ›