Tested on NCA-1510B Lanner Electronics Inc.
- Ubuntu machine with network connection for making bootable USB.
- An 8GiB USB.
- Download latest ubuntu server distro image. Recommend ubuntu-server 18.04
im1 = imread('im1.png'); | |
im2 = imread('im2.png'); | |
imshow([im1 im2]) | |
%% | |
im1 = im2double(im1); | |
im1_gray = rgb2gray(im1); | |
im2 = im2double(im2); | |
im2_gray = rgb2gray(im2); | |
%% |
Tested on NCA-1510B Lanner Electronics Inc.
FROM golang:1.9 | |
WORKDIR /go/src/github.com/purplebooth/example | |
COPY . . | |
RUN go build -ldflags "-linkmode external -extldflags -static" -a main.go | |
FROM scratch | |
COPY --from=0 /go/src/github.com/purplebooth/example/main /main | |
CMD ["/main"] |