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
ππ»♂️
-
CUDA_ARCH_BIN Table for gpu type Jetson Products GPU Compute Capability Jetson AGX Xavier 7.2 Jetson Nano 5.3 Jetson TX2 6.2 Jetson TX1 5.3 ...
-
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv <-> rgb converting example code. refer to this page -> ht...
-
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...
-
make different port number Window > .\python_embeded\python.exe -s ComfyUI\ main.py --port 8189 --windows-standalone-build Linux or Ma...
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
On the window, we made new file easily by right button click. But on the mac, there is no function. So, very incompatible... By the way, ...
-
This is example for background subtraction on opencv 3.2 version previously, I post 2.7 version example on here. http://study.marearts.co...
-
error: . VanillaPipeline.get_train_loss_dict: 12.6875 Traceback (most recent call last): File "/home/mare/anaconda3...
-
>sudo lsof -i :8188 python 231134 mare 45u IPv4 2074469 0t0 TCP localhost:8188->localhost:42132 (CLOSE_WAIT) python 23113...