0%

Obstacle detection based on binocular camera

Preface: There are several related articles on the obstacle detection of binocular cameras and the obstacle detection based on OpenCV on CSDN and blog garden. However, a considerable part of the articles on obstacle detection tend to be theoretical, and there are few practical articles. Here, I will follow the examples I learned from the Internet to integrate and add my own understanding. I hope it can play a certain reference role for everyone in obstacle detection.

Read more »

The analysis of android lifecycle

  • The lifecycle of activity is divided into two parts

    • Typical lifecycle

      During normal user use, the lifecycle of Android activity will change

    • Lifecycle under abnormal conditions

      Refers to the activity being recycled by the system or the activity being destroyed and rebuilt due to the current device Configuration change

    Read more »

重构,夜未眠

为Activity定义新的生命周期

重点:单一职责->一个类或者方法,只做一件事情

Read more »

C++的并发世界

主要内容:

  • 什么是并发和多线程?
  • 为什么用并发和多线程?
  • 如何用并发和多线程?
Read more »

Android learning journey

Foreword:

Since joining the Android Lab in 2016, I have been exposed to Android programming and purchased the first book “The First Line of Code” related to Android development. I am deeply attracted by Android development. It can be said that in my mental process of learning programming, Android development can be said to be the middle line, which runs through my learning career.

Read more »

正则表达式

正则表达式是一种字符串匹配的一种模式,可以用于检测一个字符串是否包含某串、将匹配的字符串进行替换或者从一个字符串中提取符合某个条件的的子串等等

注:在C++中使用正则表达式进行字符串操作的时候,需要添加头文件 #include<regex>

Read more »

Android开发岗个人面经

2020-05-13 字节跳动一面

这也是我人生中第一次经历的面试,也是第一次的线上面试,总的来说,真的很慌张,而且其实自己也知道准备的是不充分的,但是还是硬着头皮参加了,也算是一种人生经历吧。下面是字节跳动一面时候问到的问题,先列举出来,然后进行一个知识总结与概括:

  • 操作系统中死锁的概念
  • 产生死锁的方式
  • 排序,谈谈有什么排序算法,讲一讲时间复杂度,以及排序的“稳定性”
  • Java中 synchronized 与 Lock 区别
  • 单例模式实现,两种,多线程情况下的考虑
  • Android生命周期解析
  • Activity 之间的跳转生命周期是怎么变化的
  • Android中Handler与Message机制在多线程环境下的消息传输
  • 算法题:排序,有序的数组中找到某一目标值首次出现的下标,如:111122223334455666,问6第一次出现的数组下标为?(不可以用暴力)

下面是针对面试中提出的问题进行的知识上的储备。

Read more »

原生数据类型与表达式

原生数据类型

  • 1.Java 中的原生数据类型共有 8 种:

    • 1) 整型:使用 int 表示。(32 位)

    • 2) 字节型:使用 byte 表示。(表示-128~127 之间的 256 个整数, 8 位)。

    • 3)短整型:使用 short 表示。(16 位)

    • 4)长整型:使用 long 表示。(64 位)

      Read more »

Ubuntu+Windows dual system installation guide

Written in the front: I am very grateful to Linux Discovery Tour for giving me the guide of the installation tutorial at the beginning, and I followed this tutorial to install dual systems. For nearly a month, during this period, Windows was also blown up. . . So I reinstalled the system, until now I can use Ubuntu and Windows dual system stably.



Read more »