Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philippkueng/lego-inventory
a custom app to make sorting lego into their original sets easier
https://github.com/philippkueng/lego-inventory
Last synced: 20 days ago
JSON representation
a custom app to make sorting lego into their original sets easier
- Host: GitHub
- URL: https://github.com/philippkueng/lego-inventory
- Owner: philippkueng
- Created: 2023-07-03T19:45:59.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-24T17:06:29.000Z (about 2 months ago)
- Last Synced: 2024-10-12T04:52:30.735Z (about 1 month ago)
- Language: Clojure
- Size: 652 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# a LEGO inventory app
![Screenshot](./assets/screenshot.png)
This repo is a work in progress.
## Parts
**index**
The application allowing for sets to be entered. It'll then fetch the parts & auxiliary information from rebrickable and stores it.
**microcontroller_cpp**
The bare mininmum of C++ code for an ESP32-Wrover to allow for controlling servos and stepper motors via a JSON API.
**orchestrator**
The orchestrator talks to the controllers to control servos and stepper motors to capture pictures of parts going past and select in which buckets they'll be sorted.
**camera**
Documentation on the cameras used for the piece detection
## Shell commands
Record images from the main camera and store them into the `photos` directory
```bash
cd orchestrator
clj -m record
```Turn the photos into a video
```bash
cd orchestrator/
cat photos/*.jpg | ffmpeg -framerate 6 -f image2pipe -i - -c:v libx264 -r 30 -pix_fmt yuv420p output.mp4
```