flowchart LR
PC_Screen -- Take_a_picture --> OV5647 <-- libcamera --> Pi4 <-- SSH --> PC -- opencv --> PC_Screen
PCの画面に時計と撮影結果画像を表示します。 それをPi4のV1カメラで撮影し、 libcamera経由でPi4で処理し、
モリノークマセァン Version0.0.3 | |
モリノークマセァンはウェブブラウザーです。 | |
動作には WebKit2-GTK4.1 (libwebkit2gtk-4.1.so) が必要です。 | |
ビルド方法: | |
make | |
実行方法: | |
./morinowkumasern [初期ページURL] |
ID | Dsk | Pi4 | Pi3 |
---|---|---|---|
種類 | 廉価デスクトップ機(2〜3万で自作) | Raspberry Pi 4 model B (4GB) | Raspberry Pi 3 model B |
CPU | AMD Ryzen3 2200G 3.5GHz | ARM cortex-a72 2.0GHz | ARM cortex-a53 1.3GHz |
コア数 | 4コア | 4コア | 4コア |
Memory | DDR4-SDRAM 32GB | DDR4-SDRAM 4GB | DDR2-SDRAM 1GB |
電源 | 400W(たぶん賞味は150W程度) | 15W | 12.5W |
diff --git a/extract.c b/extract.c | |
index 1acd769..9f18940 100644 | |
--- a/extract.c | |
+++ b/extract.c | |
@@ -2554,6 +2554,10 @@ char *fnfilter(raw, space, size) /* convert name to safely printable form */ | |
uch *space; | |
extent size; | |
{ | |
+#ifdef LINUX | |
+ return (char *)raw; |
#include <acl.c> | |
void drawObj(); | |
void drawPoly(int j); | |
AInt32 sin_AInt32_12bit(const AInt32 x_12bit); | |
AInt32 cos_AInt32_12bit(const AInt32 x_12bit); | |
AInt32 vx[8], vy[8], vz[8], centerz4[6]; | |
AInt32 scx[8], scy[8]; | |
AInt8 squar[24] = { 0,4,6,2, 1,3,7,5, 0,2,3,1, 0,1,5,4, 4,5,7,6, 6,7,3,2 }; |
#! /bin/bash | |
xsetwacom set "Wacom Cintiq 13HD Pen stylus" rotate none | |
xsetwacom set "Wacom Cintiq 13HD Pen eraser" rotate none | |
xsetwacom set "Wacom Cintiq 13HD Pen stylus" maptooutput "1920x1080+0+0" | |
xsetwacom set "Wacom Cintiq 13HD Pen eraser" maptooutput "1920x1080+0+0" | |
xsetwacom set "Wacom Cintiq 13HD Pen stylus" area 580 440 59100 33300 # ペン側カーソル マッピング調整 (左上XY - 右下XY) | |
xsetwacom set "Wacom Cintiq 13HD Pen eraser" area 580 440 59100 33300 # 消しゴム側カーソル マッピング調整 (左上XY - 右下XY) |
difference() { | |
difference() { | |
union() { | |
translate([0,51.8-14.75,0]) translate([0,14.75/2,8.85/2]) cube([7.75,14.75,8.85],center=true); | |
translate([0,51.8/2,0]) difference() { | |
union() { | |
difference() { | |
translate([0,0,2]) cube([10.9,51.8,4],center=true); | |
union() { |
/* pc9801-on.c | |
* gcc -lasound -o pc9801-on{,.c} | |
*/ | |
#include <alsa/asoundlib.h> | |
main() | |
{ | |
snd_pcm_t *h; | |
snd_pcm_open(&h, "default", SND_PCM_STREAM_PLAYBACK, SND_PCM_ASYNC); | |
snd_pcm_set_params(h, SND_PCM_FORMAT_FLOAT, SND_PCM_ACCESS_RW_INTERLEAVED, 1, 44100, 1, 10000); |
import System.IO | |
import System.Process | |
import Data.Maybe | |
data ApnicRecord = ApnicRecord { | |
ap_magiq :: String, | |
ap_country :: String, | |
ap_ipv :: String, | |
ap_address :: String, | |
ap_mask :: String, |
<!-- This Source Code Form is subject to the terms of the Mozilla Public | |
- License, v. 2.0. If a copy of the MPL was not distributed with this | |
- file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | |
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/"> | |
<ShortName>Google</ShortName> | |
<Description>Google Search</Description> | |
<InputEncoding>UTF-8</InputEncoding> | |
<Url type="text/html" method="GET" template="https://www.google.co.jp/search"> |