原始Philips檯燈 燈泡 型號 PL-F27W/840

image

色溫比較

黃光      830    2700K

自然光   840  4000K

白光      865  6000K

 

參考

https://decomyplace.com/n.php?id=6582


JC 發表在 痞客邦 留言(0) 人氣()

文章已經整理出好幾款免費的軟體,適合學習用

參考:

https://reurl.cc/emx62j

 

JC 發表在 痞客邦 留言(0) 人氣()

以優啟通USB隨身碟開機,選擇第一項或第二項,以PE環境開機

 

於PE環境開始功能表中,使用虛擬光碟UltraISO 將Win 10 ISO檔案掛載到虛擬光碟機上,

    image 

     image


利用Easy Image X (EIX) 點擊以下

    image

加載虛擬光碟中的\sources\install.wim檔案,

    image

JC 發表在 痞客邦 留言(0) 人氣()

參考這篇說的很清楚,做備份。

簡易步驟

1. Win 10 ISO + Rufus 3.11 +USB隨身碟
2. Rufus 創建開機USB:
    資料分割配置:GPT
    目標系統:UEFI(無CSM)    
    檔案系統:NTFS
    配置單元大小:4096 bytes

3. 

參考:

JC 發表在 痞客邦 留言(0) 人氣()

Windown視窗鍵 + X -->選擇系統管理員啟動Powershell or Command指令視窗

於USB碟中放置install.esd. (此方法請用讀取ISO的工具,從Win10的映象檔ISO中去提取出來,install.esd位置位在 \x64\sources\install.esd)

 

以下是在命令視窗操作的指令

PS E:\win10> dism /get-wiminfo /wimfile:install.esd

image

 

PS E:\win10> dism /export-image /sourceimagefile:install.esd /sourceindex:1 /destinationimagefile:install.wim /compress:max /checkintegrity

image

/sourceimagefile:install.esd 就是要轉換的檔案:install.esd

JC 發表在 痞客邦 留言(0) 人氣()

原因:

      本次的原因,主機板電阻電容表面看似銅綠腐蝕,電池接點處也發現相同現象

解法:

      1. 使用電子接頭清潔劑噴一噴、這台蠻嚴重的,使用焊槍稍微加熱加錫補強一下

步驟:

 最主要的外蓋拆法,這片拔起就可以看到鎖附螺絲了

              

 

 鬆掉螺絲

             

文章標籤

JC 發表在 痞客邦 留言(0) 人氣()

注意以下兩點:

1. 適用門厚

2. 裝置距離(看後圖就會清楚些)

  • 原始門把

  • 門厚40mm

 

  • 裝置距離60mm (左側伸縮門扣到手把中心軸的距離)

 

  • 購買商品對應規格(適用門厚、裝置距離)

   , 

以上是規格注意事項,其他只要用一字與十字起子即可。

另外也許有人需要知道怎解開門把?

JC 發表在 痞客邦 留言(0) 人氣()

解法:關掉ipad airdrop即可解決

原因:周圍環境中可能中有支援鏡像輸出的裝置或電視

就是這個圖形默默的出現在黑色畫面中

image

同樣問題發生在以下連結

https://forum.gamer.com.tw/C.php?bsn=60521&snA=17278

https://www.dcard.tw/f/3c/p/231817493


文章標籤

JC 發表在 痞客邦 留言(0) 人氣()

查詢OpenCV在ANACONDA雲上有的那些可以下載

https://anaconda.org/search?q=opencv

按照被下載的次數排列, 這裡挑選第一項當試驗

指令: conda install -c conda-forge opencv

參考:https://anaconda.org/conda-forge/opencv

 

Proceed ([y]/n)? y

文章標籤

JC 發表在 痞客邦 留言(0) 人氣()

由C#程式代為執行以下命令 python.exe main.py var1 var2

main.py是python的主要程式碼, 由外部指令傳入兩個參數var1與var2做相乘開根號的運算

main.py的程式碼如下:

#main.py
import numpy as np
import multi
import sys

def func(a,b):
    result=np.sqrt(multi.multiplication(int(a),int(b)))
#    result = a * b
    return result

#x = func
#print(x(3,5))

if __name__ == '__main__':
    print(func(sys.argv[1],sys.argv[2]))

C#程式碼如下:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

using System.Diagnostics;
using System.IO;

namespace WindowsFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }



        public string filePythonExePath;
        /// <summary>
        /// ML Sharp Python class constructor
        /// </summary>
        /// <param name="exePythonPath">Python EXE file path</param>
        public void MLSharpPython(string exePythonPath)
        {
            filePythonExePath = exePythonPath;
        }
        /// <summary>
        /// Execute Python script file
        /// </summary>
        /// <param name="filePythonScript">Python script file and input parameter(s)</param>
        /// <param name="standardError">Output standard error</param>
        /// <returns>Output text result</returns>
        public string ExecutePythonScript(string filePythonScript, out string standardError)
        {
            string outputText = string.Empty;
            standardError = string.Empty;
            try
            {
                using (Process process = new Process())
                {
                    process.StartInfo = new ProcessStartInfo(filePythonExePath)
                    {
                        Arguments = (filePythonScript + " 3 3"),
                        UseShellExecute = false,
                        RedirectStandardOutput = true,
                        RedirectStandardError = true,
                        CreateNoWindow = true
                    };
                    process.Start();
                    outputText = process.StandardOutput.ReadToEnd();
                    outputText = outputText.Replace(Environment.NewLine, string.Empty);
                    standardError = process.StandardError.ReadToEnd();
                    process.WaitForExit();
                }
            }
            catch (Exception ex)
            {
                string exceptionMessage = ex.Message;
            }
            return outputText;
        }

        private void button3_Click(object sender, EventArgs e)
        {
            string err;
            string outResult;
            //    _writer = new ListBoxWriter(listBox1); // DebugWin is the name og my listbox
            //    Console.SetOut(_writer);
            listBox1.Items.Add("Button 3");
            MLSharpPython(@"D:\_APP\Anaconda3\python.exe");
            outResult = ExecutePythonScript(@"d:\main.py", out err);

            textBox3.AppendText("Result= " + outResult + "\n");
            textBox3.AppendText("Error= " + err + "\n");

            textBox3.ScrollToCaret();

        }

    }
}

參考:

■介紹使用C#呼叫Python語法, 應用於影像處理及機器學習的程式架構 (Using C# to run Python Scripts with Machine Learning Models )

https://medium.com/@ernest.bonat/using-c-to-run-python-scripts-with-machine-learning-models-a82cff74b027

■C#呼叫Python的四種方法

https://www.itread01.com/content/1545323704.html

■MSDN - Process.BeginOutputReadLine Method

文章標籤

JC 發表在 痞客邦 留言(0) 人氣()

«12 3