Posts

[Windows 10] Install, Beautify WSL and My Personal Review

Image
[Preface] Long-lost update Windows Subsystem for Linux (WSL) is one of the key features developed by Microsoft recently. Simply put, you can run a Linux environment on Windows, but unlike using a Virtual Box or VMware, which is a virtual environment. Basically, you can execute any command, install any package on WSL. It seems like a little bit superfluous, but we have to admit that sometimes it is more convenient/efficient to execute some things on Linux. Furthermore, you can get a gorgeous Terminal, no matter open directly or in VS Code. However, WSL is not a real Linux after all, and there are bound to be some disadvantages. In the following, I will provide some pros and cons and some points of view in my personal use, and instruction on how to install it, use it, and beautify it. [Pros & Cons] Pros: Beautiful Terminal with lots icons, able to use zsh for sure!

[Raspberry Pi]Build OpenCV 4 on Raspberry Pi With Multiple Languages(C++&Python2,3) (2019/9/20 Updated)

Image
[Preface] When I was a high school student, the first gen Raspberry Pi was published, which is a totally new product at that time. I was lucky to meet a visionary teacher who led us to play with this powerful micro-computer for about a year. Still remember that we participated a science fair, and we used a Raspberry Pi to control a LED matrix as a project topic. For sure, this was not a huge project or an amazing idea in that fair. But those evaluation committees seemed like so disdainful about our project, said "I can use a simply single-processor like 8051 to do the same thing." After a few years, I am going to graduate from university, and all the world are crazy about IoT, etc. Really want to know how do those committees feel right now. Raspberry Pi has so many advantages. As a developed board, it is really successful. And now, the third gen has been published, with a greatly performance improvement (although still not very fast) . This

[Mac]MacOS Sierra Using CMake to Compile OpenCV 3.2 With Contrib (for C++)

Image
[Preface] OpenCV, stands for Open Source Computer Vision Library, which is a super powerful computer vision library. Start from version 1, 2 to the current 3, all the functions, features are continuous progress and update. But since it is a third-party library, the installation will be a little bit troublesome.  You can run OpenCV on the most of the OS, such as Windows, MacOS, Linux, Android, etc. This article will use MacOS Sierra as an example to compile OpenCV. Other points is that from OpenCV 3, the entire library structure has been changed to an object-oriented approach. And it seems that for the popularization and lightweight, the pre-build library from official website is the basic version, that means if you need more advanced algorithms or functions, you need to compile with contrib(extra module). Not only can use extra function, but the self-compiled library will be optimized according to your environment. 

[Mac] MacBook Pro 2011 Late SSD Replacement

Image
[Preface] The original storage of my MacBook Pro 2011 is a 5400-rpm 500G HDD from Hitachi, which is not fast enough nowadays. And I heard that there are some changes of MacOS architecture have been made, if the reading speed of the drive is not fast enough, then it will take more time to boot on. This MacBook Pro was for my dad, that he can use it at home, but he rarely use it. So, he give it to me for my university propose, such as coding, demo, or presentation, etc. This MacBook Pro was quite expensive and actually the equipment was not bad at that time, but just needs a little upgrade. This is the overview of the MacBook Pro. And let's move forward. ▼Macbook Pro overview ▼Has upgraded RAM before (4 to 8). ▼Umm.. really need a upgrade.. [Requirement] A MacBook Pro A SSD  (I used ADATA SU800)  Download the latest MacOS from AppStore A USB that >8G storage Screwdriv