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
ππ»♂️
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
-
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...
-
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...
-
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...
-
This source code based on -> http://feelmare.blogspot.kr/2011/08/two-image-mosaic-paranoma-based-on-sift.html This link page introduces...
-
1. GEMM (General Matrix Multiplication): - This is the basic operation: C = A × B (matrix multiplication) - Fundamental operation in deep le...
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
This is dithering example, it make image like a stippling effect. I referenced to blew website. wiki page: https://en.wikipedia.org/wik...
-
This article explain how to access the thread index when you make block and thread with two dimensions. please refer to this page about me...
-
I am wondering that two hog features can compare or not. There was a article about this question on this page -> http://stackoverflow...