Hough line transformation

Hough transform is a feature extraction technology in image processing. It detects objects with specific shapes (mathematical model + parameters) through a voting algorithm. In the (one) parameter space, by calculating the local maximum value of the cumulative result, a set conforming to the specific s ...

Posted by suz_1234 on Wed, 26 Feb 2020 19:20:32 -0800

Business logic implementation of SMS verification code

Mobile phone verification code is a function that we use in our daily life So let's assume that we can make this function work There are many ways to achieve this. Some of them are in slow storage Here I simply record the implementation process of the latter! First, make a button to submit the u ...

Posted by tsilenzio on Tue, 25 Feb 2020 19:56:11 -0800

Animation script encapsulated with jquery (no animation, css3 animation, js animation)

Self packaged showhide.js Including no animation, css3 animation, js animation Including: fade (fade in and fade out) slideUpDown (slide up and down), slideLeftRight (slide left and right), fadeSlideUpDown (fade in and fade out + slide up and down), fadesleleftright (fade in and fade out + slide left and right) (function($){ var transition ...

Posted by BDKR on Tue, 25 Feb 2020 07:37:31 -0800

The implementation of web page delayed loading animation-WOW.js

The content of the web page is not displayed at the beginning, and there is still a time difference with the mouse pull-down delay At first, I thought it was difficult, complicated and tall, until I found that wow.js   The first is the demo address: https://www.delac.io/wow/ Well, dogs are really cute   Next, Download: http://www.downyi.com/dow ...

Posted by alcapone on Mon, 24 Feb 2020 23:40:19 -0800

HyperLedgr deployment, initializing the network.

start Check the prerequisites of the platform in order to successfully develop blockchain products. Installation prerequisites, click the link: Precondition. For more details, click: more details. List of prerequisites The latest version of git The latest version of curl Any version of wget Docker and docker composedocker --version re ...

Posted by VagabondKites on Sun, 23 Feb 2020 23:52:41 -0800

javascript brief demo understanding, object, BOM

Document is a javascript built-in object that represents the document part of the browser document.write("Hello Javascript"); writes a string to the document <html> <body> </body> <script> document.write("Hello Javascript"); </script> </html> This is a si ...

Posted by compsci on Sun, 23 Feb 2020 22:24:32 -0800

Header layout, search verification and AJAX automatic search prompt are encapsulated into components to improve code reusability

index.html header structure and style Design sketch   Static style Part of index.html <!-- head --> <div class="header"> <div class="container"> <!-- h1 Tag is for search engine optimization, indicating importance But don't show too much in the page --> <h1 class=" ...

Posted by laurajohn89 on Sat, 22 Feb 2020 23:51:28 -0800

Inheritance of JavaScript constructors

Legend https://www.xs86.com In the previous article, we talked about JS objects, constructors, and prototype patterns. This article discusses the inheritance of JavaScript Inheritance is one of the most popular concepts in OO language. Many OO languages support two kinds of inheritance: interfa ...

Posted by Trenchant on Sat, 22 Feb 2020 23:37:18 -0800

The principle of react router DOM

Implement rendering different components according to different paths There are two ways to achieve this: HashRouter: it uses monitoring hash change (there is an event hashchange) to realize routing switching. It is a routing container, rendering sub components, and passing (Context context transfe ...

Posted by subrata on Sat, 22 Feb 2020 20:17:50 -0800

Node.js Foundation: Chapter 3

Chapter 1: basic concepts of server 1.1 - composition of the website Web applications are mainly divided into two parts: client and server. Client: the part that runs in the browser is the interface program that the user sees and interacts with. Build using HTML, CSS, JavaScript. Server side: the part running in the server, responsible for sto ...

Posted by ctsiow on Sat, 22 Feb 2020 01:43:32 -0800