(Reprint) Android camera development: efficient real-time processing of preview frame data

Summary In this article, we will not introduce the new functions of Camera APP, but how to process the Camera preview frame data. Presumably most people don't need to deal with preview frames, because cameras only need to be used for taking photos and recording. In fact, this article doesn't have much connection with general Camera development ...

Posted by domainbanshee on Thu, 14 Nov 2019 13:58:35 +0100

Common rules checks in front-end Vue

premise In the development of vue, it is unavoidable to encounter a variety of form checks, here sorted out some checking methods used on the network and in their usual high frequencies.If you are wrong, you are welcome to add updates later. 1. Is it a legal IP address export function validateIP(rule, value,callback) { if(value==''||value==un ...

Posted by Flying Sagittarius on Thu, 14 Nov 2019 06:18:57 +0100

Basic course of Xamarin chart Development -- OxyPlot framework

Basic tutorial of Xamarin chart development (6) OxyPlot framework Drawing line in Xamamin iOS OxyPlotiOSDemo [example OxyPlotiOSDemo] the display of line chart will be realized below. The specific operation steps are as follows: (1) open the Xamarin.iOS project. (2) add the OxyPlot.Xamarin.iOS component to the introduction of the project. ...

Posted by socio on Tue, 12 Nov 2019 15:27:00 +0100

Implementation of java operation ffmepg

1. preparation   ffmpeg Link: https://pan.baidu.com/s/1oh qfxnlw5kmdf8f5etq Extraction code: rsdn It's more convenient to open Baidu online mobile App after copying this content 2. View live video through ffmepg public void run() { ProcessBuilder builder = null; List commend = new ArrayList(); commen ...

Posted by gwizz on Mon, 11 Nov 2019 20:22:23 +0100

Using Python to send enterprise wechat messages

preparation: Register an enterprise on the official website of enterprise wechat; log in to the background of enterprise wechat, create a "self built" application, and obtain the three necessary parameters of enterprise ID, agentid and secret; create multiple test accounts in the address book of enterprise wechat; install the "e ...

Posted by PHP Monkeh on Sun, 10 Nov 2019 17:16:30 +0100

Front End Performance Optimization - Offline Cache for Static File Clients _20191110

Front End Performance Optimization - Offline Caching for Static File Clients 1. Preface Last article shared how to optimize your project to the extreme during the webpack packaging phase.Article Link: Optimize webpack packaging to the extreme _20180619 Front-end optimization is endless. This article focuses on my exploration and experience summ ...

Posted by creekriot on Sun, 10 Nov 2019 08:06:14 +0100

Using html2canvas to upload pictures to generate posters

Link: Link descriptionUsing Vue + html2canvas + EXIF JS github address Online demo major function Upload pictures Operate on pictures: move, enlarge and shrink Synthetic Poster Specific functions: Upload pictures html: <input type="file" value="" accept="image/*" @click="getPhoto" id="image-input"> js getPhoto () { var imageInput ...

Posted by libertyct on Fri, 08 Nov 2019 19:14:40 +0100

js adaptive rem -- mainly applicable to mobile terminal

rem refers to the unit of font size relative to the root element (html), which can be used to achieve a powerful screen adaptation layout. The following main application is to adjust the font size of the root element based on js, so as to realize the adaptation of each size screen; //Design width: the actual width valu ...

Posted by aquayle on Sun, 03 Nov 2019 17:39:22 +0100

Unity 3D archives game data through serialization

In the process of using u3d to develop some stand-alone games, we will involve the storage and loading of game data. In general, if the stored data is not complex, we can use PlayerPrefs, but sometimes the data involved is more complex, and it is difficult to deal with using PlayerPrefs, so we can choose to use serialization to archive the game ...

Posted by pandaweb on Sat, 02 Nov 2019 22:34:45 +0100

css text justified

When making forms, we often encounter situations where the upper and lower fields are aligned, such as name, mobile number, and birthplace. So we're going to use the text align, text justify style. Just set text align to justify directly. The situation of text justify is complicated. Some people may not be familiar with it. IE values are as fo ...

Posted by sdyates2001 on Thu, 31 Oct 2019 05:04:02 +0100