Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages and install them manually as needed.
| /* | |
| * Copyright (C) 2011 Red Hat, Inc; 2016 Joel Ong | |
| * | |
| * This program is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU General Public License as | |
| * published by the Free Software Foundation; either version 2 of the | |
| * License, or (at your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, but | |
| * WITHOUT ANY WARRANTY; without even the implied warranty of |
| set(PRJ_NAME CLion_STM_LED) | |
| set(MCU_FAMILY STM32F1xx) | |
| set(MCU_LINE STM32F103xB) | |
| set(MCU_LINKER_SCRIPT STM32F103RBTx_FLASH.ld) | |
| cmake_minimum_required(VERSION 3.6) | |
| project(${PRJ_NAME} C ASM) | |
| add_definitions(-D${MCU_LINE}) |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
| package com.cengalabs.flatui.sample; | |
| import android.content.Context; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.util.AttributeSet; | |
| import android.view.MotionEvent; | |
| import android.view.View; | |
| import android.widget.LinearLayout; |
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| import java.util.Locale; | |
| import java.util.PropertyResourceBundle; | |
| import java.util.ResourceBundle; | |
| /** | |
| * UTF-8 エンコーディングされたプロパティファイルを {@link ResourceBundle} クラスで取り扱う。 |
| package com.doomonafireball.samples.android.widget; | |
| import com.doomonafireball.samples.android.R; | |
| import android.content.Context; | |
| import android.content.res.Resources; | |
| import android.content.res.TypedArray; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.graphics.Paint; |
| #!flask/bin/python | |
| from flask import Flask, jsonify, abort, request, make_response, url_for | |
| from flask_httpauth import HTTPBasicAuth | |
| app = Flask(__name__, static_url_path = "") | |
| auth = HTTPBasicAuth() | |
| @auth.get_password | |
| def get_password(username): | |
| if username == 'miguel': |
| import base64 | |
| import time | |
| import urllib2 | |
| import cv2 | |
| import numpy as np | |
| """ | |
| Examples of objects for image frame aquisition from both IP and |
Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages and install them manually as needed.