QR detector python code
refer to code:
.
..
you need to install pyzbar
Thank you.
www.marearts.com
🙇🏻♂️
python code to convert heic (Mac image) to jpeg
refer to code:
.
..
Thank you.
Download Youtube Video, url to local video file.
The code need to install two YouTube downloader package.
Those are pytube, youtube_dl.
This code try to use one of them because sometime it's fail in certain library.
Enjoy code:
.
..
Thank you.
www.marearts.com
🙇🏻♂️
3D mesh generation form 3D cloud points, using open3D
refer to code
.
..
install open3d using pip install open3d
Thank you.
www.marearts.com
🙇🏻♂️
print image exif python code
refer to code:
.
..
this is example result
.
..
this is code to update exif
.
..
Thank you.
🙇🏻♂️
www.marearts.com
convert you opencv camera calibration yaml file to openSFM camera.json file
refer to code:
.
..
reference :
https://github.com/mapillary/OpenSfM/issues/95
https://opensfm.org/docs/geometry.html#camera-models
Thank you.
www.marearts.com
🙇🏻♂️
python print exponential notation
refer to code:
-
--
print docker memory usage size and image size on command line
Print docker container men usage
.
..
Print image size
.
..
.
All together
..
Thank you.
www.marearts.com
🙇🏻♂️
OpenCV Camera Calibration source code
refer to code:
.
..
Here is chess board which has 10x7.
png files in same folder are that images succeed for finding pattern.
yaml file will be generated in image folder for camera intrinsic params.
Thank you.
www.marearts.com
🙇🏻♂️
docker Multi-Architecture Builds
Multi-Architecture Builds
Docker's Buildx extension allows you to build multi-architecture images. You can specify multiple target architectures and create a single image that works on both. Here's a simplified example:
comparing t4g.medium, t3a.medium, and t3.medium
the t4g.medium, t3a.medium, and t3.medium are all part of Amazon's EC2 T-series instances, which are designed to provide a baseline level of CPU performance with the ability to burst above the baseline when needed. However, they differ in the underlying processor architecture and some other characteristics. Below is a comparative table:
| Instance Type | CPU Type | vCPUs | Memory (GiB) | Processor | Network Bandwidth | EBS Bandwidth |
|---|---|---|---|---|---|---|
| t4g.medium | ARM-based | 2 | 4 | Graviton2 | Up to 5 Gbps | Up to 3.5 Gbps |
| t3a.medium | AMD-based | 2 | 4 | AMD EPYC 7000 series | Up to 5 Gbps | Up to 3.5 Gbps |
| t3.medium | Intel-based | 2 | 4 | Intel Xeon Scalable (Skylake and Broadwell options) | Up to 5 Gbps | Up to 3.5 Gbps |
Key Differences:
Processor Architecture:
t4g.mediumuses ARM-based Graviton2 processors.t3a.mediumuses AMD EPYC 7000 series processors.t3.mediumuses Intel Xeon Scalable processors.
Price:
t3a.mediuminstances are generally cheaper thant3.mediuminstances but offer similar performance characteristics.t4g.mediuminstances are also generally cost-effective due to the efficiency of the Graviton2 processor.
Performance:
- The ARM-based Graviton2 processors in
t4g.mediuminstances are designed for better power efficiency. - Both AMD and Intel options in
t3aandt3are more traditional and have been in use for longer periods, and their performance characteristics are well understood.
- The ARM-based Graviton2 processors in
Compatibility:
- Software that is dependent on specific instruction sets might not be compatible with ARM-based processors, so
t3andt3acould be a safer bet for those applications.
- Software that is dependent on specific instruction sets might not be compatible with ARM-based processors, so
For the most current and accurate information, it's always best to consult the official AWS EC2 documentation or pricing pages.


