Tag:brightness

  • Android audio and video capture

    Time:2022-3-31

    Audio and video acquisition In the whole process of audio and video processing, the audio and video acquisition at the transmitting end is undoubtedly the beginning of the whole audio and video link. There are relevant hardware devices on Android or IOS – camera and microphone as input sources. In this chapter, we will analyze […]

  • Zhiting home cloud – development guide web: business functions [device control]

    Time:2022-3-19

    Equipment control It mainly controls the operation of the equipment, such as on / off, light brightness, volume, temperature, etc. The device control page is an independent single application management (independent plug-in package), and the plug-in development will be introduced separately below Display effect of equipment control page: The device control is also based on […]

  • PWM to achieve “meteor shower” effect

    Time:2022-3-15

    1. LED lights of different frequencies flash Next, we take the flashing code of the LED lamp below as an example to change the delay length to see the effect of the LED lamp void setup() { pinMode(2, OUTPUT); } void loop() { digitalWrite(2, HIGH); delay(50); // Wait for xx millisecond(s) digitalWrite(2, LOW); delay(50); // […]

  • Sensor monitoring with c#+ WinForm in raspberry pie

    Time:2022-3-10

    Recently, the school sent out a task to make a science and technology festival gadget, and then I took out my raspberry pie to make a big fight. Seasoning Raspberry Pi 3B+Raspberry pie GPIO expansion board3.5-inch capacitive touch screen (GPIO interface)Soil moisture sensor (GPIO interface)Light sensor (GPIO interface)Since the work has been handed in, we […]

  • Audio and video series 1: basic knowledge

    Time:2022-2-23

    Title: audio and video series I: basic knowledgecategories: [C++]tags: date: 2021/07/01 < div align = ‘right’ > Author: Hackett < / div > <div align =’right’> WeChat official account: overtime apes </div> Audio and video series 1: basic knowledge Opening: the 5g era has been opened, and the audio and video industry will make a […]

  • OpenGL learning 27 – gamma correction

    Time:2022-2-18

    Gamma correction In the old digital image era, most displays are picture tube displays. The physical properties of these displays are such that twice the input voltage does not produce twice the brightness. The relationship between input voltage and brightness is roughly exponential with an index of 2.2, which is called the index of the […]

  • Modelarts black technology reveals the secret of intelligent evaluation and diagnosis of the model, so that the model can have a “physical examination”

    Time:2021-10-27

    Abstract: Huawei cloud AI development platform modelarts black technology supports ai r & D, makes model development more efficient and simpler, and reduces the landing threshold of AI in the industry. Comprehensive visual evaluation and intelligent diagnosis function enable developers to intuitively understand all aspects of the performance of the model, so as to carry […]

  • PHP implements a simple image edge detection

    Time:2021-9-17

    A simple image edge detection method General steps: Zoom pictures for efficiency Image graying Calculate edges based on brightness The third step is the most critical. There are many methods used here to directly compare the adjacent brightness. usage method: install composer require lizhichao/one-img use $img_path = ‘1.jpg’; $img = new \OneImg\Border(); $img->setImg($img_path) ->scale(300, 300) […]

  • The method of adjusting the brightness of screen on the computer of Linux system

    Time:2021-2-14

    Let’s start with a general approachNote: the following operations do not need sudo administrator authority, just use the current user.1. Open a terminal to check the maximum brightness value of the machine.Input command: Copy code The code is as follows: cat /sys/class/backlight/acpi_video0/max_brightness The output shows a number. For example, Xiaobian’s is 15. As shown in […]

  • Swiftui brightness setting view image color

    Time:2021-1-3

    Swiftui brightness setting view image color The brightness modifier can set the light and shade of the view, and we can adjust the highlight of the view from 0% to 100%. The value and harvest of this paper After reading this article, you will be able to make the following interface After reading this article, […]

  • Automatic backlight algorithm – Android 8.1

    Time:2020-12-20

    In this paper, based on the work of automatic backlight notes, expand the next, record the automatic backlight algorithm.Based on Android 8.1, the code can be referred to http://androidxref.com/8.1.0_ …Android 9 adds a so-called machine learning algorithm to regenerate curves according to the brightness and light perception of users when they adjust them,The slide bar […]

  • JS regular judgment color value, hex to RGB, HSL to RGB

    Time:2020-8-10

    Color value judgment /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(‘#009a61’) /^rgb/.test(‘rgb(0, 154, 97)’) /^hsl/.test(‘hsl(0, 0%, 20%)’) Hex color values are converted to RGB // Colors function hexToRgb(hexValue) { const rgx = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; const hex = hexValue.replace(rgx, (m, r, g, b) => r + r + g + g + b + b ); const rgb = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); const r = parseInt(rgb[1], […]