Python OpenCV tutorial memo
http://labs.eecs.tottori-u.ac.jp/sd/Member/oyamada/OpenCV/html/py_tutorials/py_tutorials.html ## Get started with OpenCV-Python This was just an installation, so I omitted it ## GUI function of O
Policy application when blocked by SElinux
### Use scene --When it is detected in audit.log that a specific process is blocked by SELinux. ### procedure #### 1. Confirmation of the cause of being blocked by SElinux. <pre> sudo audit2allow -
What to do if abort is displayed when inputting camera video in OpenCV
The other day I tried to input a video using opencv and display it. The environment was done on macOS Catalina vs Code, but at that time ``` zsh: abort python load_video.py ``` Was displayed,
CNN 1 Image Recognition Basics
[Aidemy](https://aidemy.net/) 2020/10/2 # Introduction Hello, it is Yope! I am a liberal arts student, but I was interested in the possibilities of AI, so I went to the AI-specialized school "Aidemy"
Small story: numpy flatten mechanism
I often flatten the ndarray of numpy, but let's understand the order in which the data are arranged. Create ndarray of (3, 3, 3). The values are given serial numbers so that you can see which valu
Aggregate VIP values of Smash Bros. with Pandas
# Introduction [[Scraping for the first time] I tried to make a VIP character for Smash Bros. [Beautiful Soup] [Data analysis]](https://qiita.com/daikiclimate/items/31f613da3600157cbecb) # Scraping
PyCharm Community Edition with Anaconda plugin 2020.1.2 x64 stopped working ...
One day, when I opened Pycharm to write Python ``` java.lang.VerifyError: Expecting a stack map frame~~~~ ``` Well, I don't really understand, I spit out an Error, Pycharm teacher. For the time
Introduction to Deep Learning ~ Dropout Edition ~
# Overview The previous article is [here](https://qiita.com/kuroitu/items/2618c598f46d6ab3889c) In this article, we will explain dropout, which is one of the typical methods for suppressing overfitt
Creating multiple output models for regression analysis [Beginner]
What I want to do with machine learning is creating AI that gives multiple answers. I managed to move it like that, so I posted it as a memorandum. ## Trial environment |software|version| |:--|:
[Momentary interest] Which country does the Japanese resemble the national character of?
With the presidential election in the United States and the renewal of the Prime Minister of Japan, I wondered what the characteristics of Japanese people are, so I took a quick look at it in about t
Deep Learning with Shogi AI on Mac and Google Colab Chapter 8 5-9
[TOP PAGE](https://qiita.com/kazunoriri/items/d7875d7f1121edcc807a) # Register with GUI software On Mac, use sh file instead of bat file. Create an sh file as shown below. #### **`bat\policy_playe
Deep Learning with Shogi AI on Mac and Google Colab Chapter 8 1-4
[TOP PAGE](https://qiita.com/kazunoriri/items/d7875d7f1121edcc807a) # USI engine implementation policy_player.py y = self.model(x) y is the value of the output layer before passing through the act
How to operate Discord API with Python (bot registration)
I had to post to a DM or channel to a user using a bot on Discord, so I'll show you how. This time I will write without using disocrd.py. ## Make sure you have Discord administrator privileges. If
Continue! Remote work sabotage corps with pyAutoGUI!
* This article is a memorandum that talks about things that new employees have never asked. # Today's troubles Panda-san, Teams is leaving at [this](https://qiita.com/pnd75/items/cfe4cb39fb501258be5
Change your Mac terminal user name
This time I would like to explain how to change the part of the user name displayed on the Mac OS terminal. (This time, the explanation is for MacOS Catalina (2019/10) or higher, so the explanation
Python if statement
### About Python if statement example sentences I wrote how to use if for each pattern. I also referred to the example using multiple functions. The conditional expression structure contains the ne
I defined ForeignKey to CustomUser specified in AUTH_USER_MODEL in Django, but it is not referenced
It was jammed for about 10 minutes. Even if you google, you can't find a solution, and maybe you may have a similar problem. ## Premise I'm using Django and PostgreSQL. I used to use the auth_
Make Fatjar by changing the main class with Gradle
## Purpose There was a library that could only be used in Java, and there was an existing application that implemented it in Kotlin. This time I wanted to call some of the features from a Python bat
Feature Selection Datasets
Feature Selection Datasets Feature Selection Datasets is a dataset that seems to have been collected for machine learning studies and method benchmarking. http://featureselection.asu.edu/datasets.
[Python] 2's complement conversion
## Overview Mutual conversion of "numerical value" and "hexary string" in Python. Negative values are two's complement representations. ## Code lambda ```python ##2's complement conversion lambda
[Visualization of ratio] Plotly and dynamic visualization [python, pie, sunburst, sanky, treemap, fannele,]
 python==3.8 plotly==4.10.0 # pie (yen, donut) ## Basic circle You don'
Causes and solutions when python sam build fails in a newly created Cloud9 environment
# The beginning of the matter The other day (one day in September 2020), I tried to output sam (Serverless Application Model) hello world template (runtime is python3.8) in the newly created AWS Clo
[CentOS] When you change or forget the root password
# When you want to change the root password ``` passwd ``` --You will be asked to enter a new password, so enter it. --After completion, log out once and check if you can log in with a new password.
django + nginx How to make images viewed only by logged-in users
When combining django and nginx The method is to extract static files such as images with collectstatic and place them in nginx. However, if you place it in ** nginx, you can see the static files
Deep running 2 Tuning of deep learning
[Aidemy](https://aidemy.net/) 2020/10/1 # Introduction Hello, it is Yope! I am a liberal arts student, but I was interested in the possibilities of AI, so I went to the AI-specialized school "Aidemy"
Django Python shift table
I investigated and implemented how to control table scrolling with Html and Css, but there are some things that do not work. current situation  with Python
# Introduction My son, who likes math, seems to know how to double bet somewhere, and he explained it in a funny way. [According to Wikipedia](https://en.wikipedia.org/wiki/%E3%83%99%E3%83%83%E3%8
Recording and playback on Linux
Record in monaural ```text $ arecord -t wav -d 5 mono.wav Recording WAVE'mono.wav' : Unsigned 8 bit,Rate 8000 Hz,monaural ``` Play recording ```text $ aplay mono.wav Playing WAVE'mono.wav' : Uns
InfoScale 7.4.2 for RHEL on AWS Performance Test Results Public Release
# Introduction InfoScale guarantees operation on RHEL on AWS, and has the following two main advantages. In fact, in the on-premises world, many companies are deploying InfoScale to enjoy the followi
Challenge the Tower of Hanoi with recursion + stack
Good evening everyone (* ^-^ *) The other day, I studied recursion in the article "Challenge the Tower of Hanoi with Recursion". https://qiita.com/AKpirion/items/c0f7905c6227e086644e * Isn't it po