MARE's Computer Vision Study.
MareArts blog / Computer Vision & Artificial Intelligent Systems
Pages
Home
Useful Site
About Me
Guest Book
Contents table
3/21/2020
transfer local docker image to another machine
Transfer docker image A -> B
1. Make zip file on A
docker save -o ./example.tar image_name
2. Transfer example.tar
A to B using scp, rsync, or in some way
3. Load image on B
docker load -i ./example.tar
install docker on ubuntu 18.04
Step 1: Update Software Repositories
sudo apt-get update
Step 2: Uninstall Old Versions of Docker
sudo apt-get remove docker docker-engine docker.io
Step 3: Install Docker
sudo apt install docker.io
Step 4: Start and Automate Docker
sudo systemctl start docker
sudo systemctl enable docker
Step 5 (Optional): Check Docker Version
docker --version
3/17/2020
get unique value from list (python source code)
..
import
numpy
as
np
def
unique
(
list1
)
:
x = np.array
(
list1
)
x = np.unique
(
x
)
return
list
(
x
)
list1 =
[
10
,
20
,
10
,
30
,
40
,
40
]
list1 = unique
(
list1
)
print
(
list1
)
..
output
[10, 20, 30, 40]
..
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
OpenCV Stitching example (Stitcher class, Panorama)
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
python OpenCV, draw grid example source code
make well divided linear coordinate And make pair coordinate Please see code for detail explanation. import numpy as np import cv2 ...
Real-time stitching multi-video to one screen
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
yuv422(YUYV) to RGB and RGB to yuv422(YUYV), (Using OpenCV and TBB)
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv <-> rgb converting example code. refer to this page -> ht...
(OpenCV, data type change, copy) vector to Mat, Mat to vector
This post is about how to copy Mat data to vector and copy vector data to Mat. Reference this example source code. printf("///////...
Real-time N camera stitching Class.
As you can see in the following video, I created a class that stitching n cameras in real time. https://www.youtube.com/user/feelmare/sear...
Dithering python opencv source code (Floyd–Steinberg dithering)
This is dithering example, it make image like a stippling effect. I referenced to blew website. wiki page: https://en.wikipedia.org/wik...
(OpenCV Study) Background subtractor MOG, MOG2, GMG example source code (BackgroundSubtractorMOG, BackgroundSubtractorMOG2, BackgroundSubtractorGMG)
Background subtractor example souce code. OpenCV support about 3 types subtraction algorithm. Those are MOG, MOG2, GMG algorithms. Det...
opencv rtsp connection using vlc library
RTSP(Real Time Streaming Protocol) is video streaming, it usually sent from network camera. VideoCapture function in opencv also can get r...
OpenCV add, subtract, multiply, divide operation image and scalar, example code
opencv lecture 4-1 example code < gist start > < gist end >