12/19/2021
semantic segmentation vs instance segmentation
12/17/2021
12/13/2021
docker MongoDB pull and run
#pull image
docker pull mongodb
#run container
docker run --name mongodb -d -p 27017:27017 mongo
ex) access in python
Thank you.
www.marearts.com
12/10/2021
Retrive docker container IP address
replace 'container_name_or_id' -> 'you id or container name'
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id
Thank you.
mongodb python, Table recode export, loading, save csv, load csv
refer to below code:
.
.
Thank you.ππ»♂️
www.marearts.com
12/09/2021
IP 2 Geometry information python
Here is official page:
https://pypi.org/project/ip2geotools/
https://github.com/tomas-net/ip2geotools
This is my try
..
..
The results :
165.132.116.105
Seodaemun-gu
Seoul
KR
37.5790747
126.9367861
Thank you. ππ»♂️
www.marearts.com
12/08/2021
increase number in dynamodb field key value
Get Access permission
.
.
sample code
.
.
Thank you.
ππ»♂️
www.marearts.com
Rotation(orientation) correction when uploading photos from mobile (python, pillow)
Try to use ImageOps function.
Solution is simple refer to below code:
.
.
Thank you.
ππ»♂️
www.marearts.com
12/07/2021
Signature & Handwritten Detection in scanned image
https://www.marearts.com/Signature-Handwritten-Detector-c81f875ddb66490a8db990b50ce6f665
12/06/2021
Signature & Handwritten Detector on document image
Handwritten & Signature Detector on Document Image
* Live Demo
✍πΌ Signature & Handwritten Detector on Document
http://signhand.marearts.com/
* API explanation
https://www.marearts.com/Signature-Handwritten-Detector-c81f875ddb66490a8db990b50ce6f665
----------------------------------------
π· MareArts Free API List π·
MareArts π¬ Live
http://live.marearts.com
✍πΌ Signature & Handwritten Detector on Document
http://signhand.marearts.com/
π Auto Number Plate Recognition - Korean
http://redkongkr.marearts.com/
π¦ Car License Plate detector
http://lpdetector.marearts.com/
π³️π Representative Color Extractor
http://recolor.marearts.com/
π OCR Tess-v5
http://tessv5.marearts.com/
π Regular Expression Generator
http://regular.marearts.com/
π QRcode Generator
http://qr.marearts.com/
𦧠Barcode Generator
http://barcode.marearts.com/
π Elastic Image Generator
http://elastic.marearts.com/
π Mosaic Image Generator
http://mosaic.marearts.com/
⚽️ PDF to IMG convertor
http://pdf2img.marearts.com/
π PDF to TXT convertor
http://pdf2txt.marearts.com/
π PDF to HTML convertor
http://pdf2html.marearts.com/
⚾️ PDF to JSON convertor
http://pdf2json.marearts.com/
ππ»♂️ Thank you!
https://www.marearts.com
-----------------------------------
12/02/2021
How to combine multiple criterions to a loss function? Multiple loss function for single model.
You can simply reference below code:
ex1)
b = nn.MSELoss()(output_x, x_labels) a = nn.CrossEntropyLoss()(output_y, y_labels) loss = a + b loss.backward()
ex2)
b = nn.MSELoss() a = nn.CrossEntropyLoss() loss_a = a(output_x, x_labels) loss_b = b(output_y, y_labels) loss = loss_a + loss_b loss.backward()
And there are many opinions in here:
https://discuss.pytorch.org/t/how-to-combine-multiple-criterions-to-a-loss-function/348/27
Thank you.
www.marearts.com
ππ»♂️
12/01/2021
pdf2img, pdf to image, python library
way #1
--
--
way #2
--
--
Thank you.
www.marearts.com
ππ»♂️
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
-
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv rgb converting example code. refer to this page -> http://feel...
-
Logistic Classifier The logistic classifier is similar to equation of the plane. W is weight vector, X is input vector and y is output...
-
Created Date : 2007.8 Language : Matlab / C++(MFC) Tool : Matlab / Visual C++ 6.0 Library & Utilized : - / OpenGL Reference : ...
-
fig 1. Left: set 4 points (Left Top, Right Top, Right Bottom, Left Bottom), right:warped image to (0,0) (300,0), (300,300), (0,300) Fi...
-
The MNIST dataset is a dataset of handwritten digits, comprising 60 000 training examples and 10 000 test examples. The dataset can be downl...
-
Created Date : 2009.10. Language : C++ Tool : Visual Studio C++ 2008 Library & Utilized : Point Grey-FlyCapture, Triclops, OpenCV...
-
In the YUV color format, Y is bright information, U is blue color area, V is red color area. Show the below picture. The picture is u-v col...
-
Created Date : 2011.8 Language : Matlab Tool : Matlab 2010 Library & Utilized : - Reference : Multiple View Geometry (Hartly and Z...