Machine learning environment construction macbook 2021

## This article A memorandum when creating an environment for ML on macbook Will be updated from time to time ## Environment construction procedure Finder Show the following in a `new Find

Story of trying competitive programming Part 1

Why? Competitive programming, the so-called competitive pro, was mentioned in the tutorials of Paiza and python, but honestly, the efficiency of studying is at a level where I struggle quite a bit

How to use Pylint for PyQt5 apps

If you use Pylint for code that uses PyQt5 ``` E0611: No name 'QWidget' in module 'foo.bar' (no-name-in-module) ``` I get an error like this. To prevent such errors, put the following settings in t

Thermal camera (Thermo AI device TiD) Python BME280

BOSCH temperature / humidity / barometric pressure sensor BME280 temperature / humidity / barometric pressure data is acquired by I2C communication. *** 1. [Introduction](https://qiita.com/MH-SS/it

[MacOS] Installation of Go (Go language) using goenv

# Overview Describes the procedure to install ** Go ** (Go language) on ** macOS **. I used Go's version control tool ** goenv ** to install Go. I also use ** Homebrew ** to install goenv. I stumb

Thermal Camera (Thermo AI Device TiD) Python OpenCV Edition

Use OpenCV in Python on Raspberry Pi to detect people. *** 1. [Introduction](https://qiita.com/MH-SS/items/c3d12abe871bfd62d1df) 2. [Sensor](https://qiita.com/MH-SS/items/61021e58b3a5a7f81b3d) 3.

Google Colaboratory 90-minute session disconnection countermeasures --- Use Python! ---

# things to do Even if Google Colab is running the program, if you do not touch anything, the program will stop after 90 minutes. As a countermeasure against this session expiration, [How to use the

Thermal Camera (Thermo AI Device TiD) Introduction

# Introduction MH Software & Service has designed and developed the Thermo AI device TiD using non-contact temperature sensors. Many commercially available thermal cameras are still expensive. Usin

I tried using Heapq

# Introduction I wrote it down because I learned how to sort using a library called heapq in python. # What is heapq * heapq: A library that can use the heap queue algorithm. The heap queue is a ty

I'm addicted to Python 2D lists

# At first I'm still a beginner so if the explanation is wrong or if I should write more, please tell me. # Being addicted There is a list that contains `-` as many as mx to make my. ```python mx,

AtCoder Beginner Contest 188 Participation Report

# AtCoder Beginner Contest 188 Participation Report [ABC188A - Three-Point Shot](https://atcoder.jp/contests/abc188/tasks/abc188_a) Break through in 2 minutes. Just write. ```python X, Y = map(in

Thermal camera (thermo AI device TiD) Python VL53L0X edition

The distance data of the Pololu Time-of-Flight distance sensor module VL53L0X is acquired by I2C communication. *** 1. [Introduction](https://qiita.com/MH-SS/items/c3d12abe871bfd62d1df) 2. [Sensor

Run DHT22 with RasPi + Python

I connected a module called "DSD TECH DHT22 Temperature / Humidity Sensor Module AM2302 Evolved Version of DHT11 for Arduino Raspberry Pi with Chip" sold by Amazon to a Raspberry Pi and measured the

[Day 5] View and template basics

January 10, 2021 [← Last time: Create Day 4 application](https://qiita.com/kizashi/items/4f6c17369171db15e257) The theme this time is "Basics of Views and Templates". Until now, you may not have

Easy deep learning web app with NNC and Python + Flask

I've been able to create a very simple web application by biting Flask a little, so I immediately incorporated deep learning and played with it. The deep learning part uses the Neural Network Console

Thermal Camera (Thermo AI Device TiD) Python D6T-44L-06 Edition

The temperature data of OMRON MEMS non-contact temperature sensor D6T-44L-06 is acquired by I2C communication. *** 1. [Introduction](https://qiita.com/MH-SS/items/c3d12abe871bfd62d1df) 2. [Sensor]

Real-time object detection Android app with TensorFlow and Camera X

# What to do this time We will use the image analysis use case of cameraX to quickly create an app that detects objects in real time using `CameraX` and` Tensorflow lite`. (Note: The CameraX impleme

AtCoder Beginner Contest 188 Note

# Preface I tried Atcoder, so it's a memo for myself. I plan to add and correct it later. # problem https://atcoder.jp/contests/abc188 A #### **`Q_A.go`** ```go package main import ( "f

Learn algorithms with Go @ recursive call

The purpose is to understand Go basic syntax and algorithm brain training. <h2> About the algorithm </h2> <h3> What is a recursive call? </H3> Calling yourself in the process is called a recursive

We will implement the optimization algorithm (overview)

# Introduction We will mainly implement the metaheuristics algorithm in the optimization algorithm. Metaheuristics have the greatest advantage of being problem-independent, but It was difficult t

Analyze the illustration (Memo)

#### **`test.py`** ```py import cv2 import glob import os import numpy as np def ToneExtract(path_input,path_output): img = cv2.imread(path_input) hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HS

[Go] Take a look at io.Writer

I researched Go's io.Writer interface. ## What is io.Writer `io.Writer` is the following interface. ``` type Writer interface {     Write(p []byte) (n int, err error) } ``` It has a write method

Become Indian (domain conversion by Cycle-GAN)

**Begin** I'd like to enjoy authentic curry in India, but the corona vortex doesn't make it happen. So, if I couldn't go to the site, I thought that if the Indians' face became Indian at least, that

Stack problem: Try to solve "20. Valid Parentheses"

# Introduction I solved the stack problem, so I made a note of it. # Try to solve "20. Valid Parentheses" Link to problem: https://leetcode.com/problems/valid-parentheses/ answer: ```python cla

[Raspberry Pi] Publish a web application on https using Apache + WSGI + Python Flask

# Overview Publish a web application using Python's Flask framework on Raspberry Pi. At that time, SSL is also supported by linking with Apache using WSGI. # Introduction This article is based on

[pyqtgraph] Set the size ratio of the graph

# Thing you want to do <img width=500 alt='Ok.png' src='https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/779817/4a34c93d-2137-1bee-0b69-ffc16298157a.png'> I want to set the size ratio whe

Learning neural networks using the genetic algorithm (GA)

# Introduction ```math f(x,y)=\frac{(\frac{\sin x^2}{cos y}+x^2-5y+30)}{80} ``` The function of is trained in a neural network using a genetic algorithm. (I couldn't do it because of my undergradua

What happens if you graph the number of views and ratings/comments of the video of "Flag-chan!" [Python] [Graph]

# Introduction This time, I plotted the number of views and the number of evaluations/comments at the same time to investigate and consider what kind of tendency there is. As a result, I got an inte

taichi's Torisetsu ② ~ Initialization ~

## About this series I've been addicted to a graphic library called [taichi](https://github.com/taichi-dev/taichi) that can be used with python recently, so I'll summarize how to use it. The table of

Collaborate in a remote environment

# When you are working remotely and want to share your screen If you want to share the screen with another worker during remote work, mainly using Linux, this is an easy way to share. ## Screen sha