RSS Amplifier

Blog

Poeticoding

Articles, tutorials and screencasts for Web Developers learning Elixir, Phoenix, LiveView, Docker and more.

poeticoding.comRSS feed ↗10 posts

Written by

Latest posts

Nerves powered Vision – Deploy YOLOv8 on RPi5 with Hailo8L

Most of the code used in the video: https://github.com/vittoriabitton/nx_hailo/blob/main/nx_hailo/livebooks/remote_device_inference.livemd The post Nerves powered Vision Deploy YOLOv8 on RPi5 with Hailo8L appeared first on Poeticoding .

Building a YOLOX Plate Detector – Setup, Fine-Tuning, Metrics, Dashcam inference

Links Notes and Code Install YOLOX and needed deps Download YOLOX GitHub repo: https://github.com/Megvii-BaseDetection/YOLOX Then be sure you are using Python = 3.11 (I had some issues with python 3.12 and switching to 3.11 made all much easier). Edit in requirements.txt and set onnx-simplifier version to 0.3.10 and pycocotools to 2.0.8 You should now have [ ] The post Building a YOLOX Plate…

Build a Parking sensor with ESP32 board, LEDs and Ultrasonic distance sensor

What problem am I trying to solve? My garage was built for cars from another era: inside it’s about ~4.8 m long × 2.5 m wide, and the entrance narrows to just 2.2 m. My car, on the other hand, is 4.7 m long and almost 2 m wide, so squeezing it through the doorway is just step one. Even if [ ] The post Build a Parking sensor with ESP32 board, LEDs and Ultrasonic distance sensor appeared first on…

Fine-Tuning YOLO to Watch Soccer Matches

Today we re diving into something really cool: fine-tuning YOLO models for soccer detection. We re going to detect balls, referees, players, and goalkeepers in soccer matches using Ultralytics fine-tuning tools. The popular YOLO models you ll find out there, like Ultralytics YOLOv11, and YOLOX in different sizes, are mostly pre-trained on something called the COCO dataset. What s [ ] The post…

Elixir YOLO v0.2.0: YOLOX Support, Custom Models and Performance Boost

https://github.com/poeticoding/yolo_elixir/releases/tag/0.2.0 In the four months since my daughter was born, I’ve been balancing baby bottles by night and code commits by day. Finally managed to ship this release, sleep-deprived, but very proud! This isn’t just a version bump, it’s a major release, introducing three key enhancements: This release brings also other things like a fully [ ] The post…

Effortless Video Sharing with Phoenix LiveView and FLAME

As someone who loves experimenting with new technologies, I recently got the Vision Pro (I’m a big fan of VR and the idea of working in mixed reality). What excites me the most is sharing the cool stuff I discover, with my friends and colleagues, like how amazing it is to have a floating 3D [ ] The post Effortless Video Sharing with Phoenix LiveView and FLAME appeared first on Poeticoding .

Phoenix LiveView LiveComponents

Components are a mechanism to compartmentalize state, markup, and events in LiveView. We can move a part of the LiveView's logic (and related template) into separate components. We start by moving the product card, the part inside the for comprehension, into a LiveComponent. The post Phoenix LiveView LiveComponents appeared first on Poeticoding .

A nice Dashboard UI

Before going on with LiveComponents and other topics, let's spend a few minutes on our UI. At the moment products and trades are rendered in a table, using the default phoenix.css. The post A nice Dashboard UI appeared first on Poeticoding .

Bindings, Click and Form events, Debounce, Live Flash messages

In this lesson we are going to see how to handle user interactions in our LiveView, going through many examples on how to use Phoenix bindings, show live flash messages, button clicks and form events. The post Bindings, Click and Form events, Debounce, Live Flash messages appeared first on Poeticoding .

Layouts and LiveEEx templates

In this lesson we are going to see: Layouts, how they work with regular views and LiveViews. How to update the page title in LiveView. .leex LiveEEx template file The post Layouts and LiveEEx templates appeared first on Poeticoding .