Thursday, May 14, 2020

How Computer Hard Disks Save data


coinpayu

We use hard disk drives (HDD) to store digital data. Not only in computers, CCTV DVRs, modern photocopy machines and etc. use hard disks to store data. 
In this article I will show you how Magnetic disk hard drives work, their Geometry, and how data store in that kind of a hard disk.
If You open the front cover of a Magnetic disk hard drive, you can see something like figure 01. The organization of components may differ from one hard disk model to another, but the components and their functionality is same for all.

Figure 01

Usually Computers save data in binary form (1 and 0). This type of single binary digit equals to 1 Bit. We know 8 Bits equals to 1 byte and 1024 bytes equals to 1 kilo byte and vice versa. Data is stored in the platters. Those data can be read from the read/ write head and pass them to the logic board. When data is received, that data will be placed in platters by the read/ write head. this is the functionality of a hard disk in very simple way. Now lets dig deep.
Platter is a CD shaped round object which is made with most of the time aluminium. A magnetic media is coated on this kind of disks. A hard disk may contain one or more platters. It depends on the capacity and the model of the hard drive.The platter or platters in a hard drive are attached to a motor and they spin in high RPM(Rounds per minutes). The RPM value of a hard disk also may differ from one hard disk to another.
The data actually record in a platter as magnetic patterns. The coated magnetic media on a disk act as microscopic magnetic metal grid something like in Figure 02.

Figure 02

These tiny grids arrange in to groups to store the magnetic pattern of the data. Figure 03.

Figure 03

This type of group is known as a Bit.

Figure 04

Each group has its own magnetization out of one from two possible states.Figure 05 shows how groups get magnetize and how the whole group indicate the state of its magnetization.
Figure 05

This is the mechanism the Magnetic disk hard drive stores 0s and 1s. The magnetization state of a group represent either 0 or 1. See figure 06.

Figure 06

The functionality of the read/ write header is simple. It read and write data from and to the platters. Header is capable of magnetize groups (which stores one Bit) with one of the possible state out of the two states. 

So for the simplicity think like this. With an elector magnet we can change the magnet field direction by changing the DC current direction to the elector magnet. The header in the HDD uses this feature. Basically 1 and 0 in computer hardware id either on or off. When binary signals received to the interface board it convert them to a format which header can handle. Then current passes through the header in one direction to magnetize a group with one of the possible state out of the two states, and when current passes in other direction through header it magnetize a group with other state. figure 07 and 08.

Figure 07
Figure 07

Figure 08
Figure 08

This is the mechanism of a Hard disk of saving data. In another article we will discuss how Solid State Drives Save data. We will discuss about the sectors later in another article.


Thursday, May 7, 2020

Object Tracking Automatic Camera


coinpayu


Chapter 1

Introduction

Because of the advance in surveillance systems, object tracking has been an active research topic in the computer vision community over the last two decades as it is an essential prerequisite for analyzing and understanding video data. Tracking is usually performed in the context of higher-level applications, which in turn require the location or shape or color of the object in every captured frame. Accordingly, several assumptions should be considered to constrain the tracking problem for a particular application.

A great deal of interest in the field of object tracking has been generated due to (i) the recent evolution of high-speed computers, (ii) the availability of high quality and inexpensive sensors (video cameras), and (iii) the increasing demand for an automated real-time video analysis. Tracking an object is to get its spatial-tempo information by estimating its trajectory in the image plane as it moves around a scene, which in turn helps to study and predict its future behavior. There are three main steps in video analysis: detection of interesting moving objects, tracking those objects from frame to frame, and analysis of the recognized object tracks to detect their behavior. Some examples for object tracking include the tracking of anomalies movements of people in security systems, tracking of rockets in a military defense system, customers in a market, monitoring child or patient from remote location, players in a sport game, lane detection and obstacles detection systems in semi-automated vehicles and cars in a street. Tracking these objects helps in military defense, goods arranging, sport strategies, security field and traffic control, respectively. Basically, tracking can be done by one or multiple types of sensors. Radar, sonar, infrared, laser radar, and video cameras are the common used tracking sensors.

Enhancement of object tracking systems is building up a pan tilt moving cameras based on the movements of the detected object by combining the object tracking and computer vision technologies with microcontrollers. These systems are capable of continue the tracking even though the object runs away from the boundaries of the normal still camera. Most of modern surveillance systems use pan tilt moving tracking cameras to keep eye on specific object to a wide range. Basically these systems are capable of track a specific object along X axis from 0 degrees to 180 degrees and also along Y axis from 0 degrees to 180 degrees. This is a huge range when comparing to a still tracking camera system.

1.1. Background

Manufacturing of object tracking pan tilt cameras are the biggest technology revolution in surveillance systems. Most of existing systems are designed with advanced hardware technologies, and use complex computer vision software solution. So these systems are much expensive and too complex to handle. Most of the designers use static video camera for the manufacturing of surveillance systems, because of the high cost for the technology and the complexity. The goal of Object Tracking Automatic Camera is to introduce a low cost, more efficient and accurate solution for existing object tracking systems.

1.2. Motivation

Object tracking pan tilt camera is one of the most highlighted research areas in the last two decades. So I need to do my final year research project with interesting new topic that there are no exactly low cost solutions, which combine computer vision object tracking with hardware controlling, in the world. The reason is then I should not be in the frame because there is no international standard for the research. I could be able to develop my own algorithms for control the hardware by using the signals passing from the PC, which are generated by processing the input video from the video camera.

1.3. Goals

An Object Tracking Automatic Camera introduces a regular object tracking system with an enhancement of, making the camera to rotate along X and Y axis. It is a low cost solution for costly pan tilt moving object tracking systems. This system is designed to improve the current object tracking systems in the following ways.

  1. Track the object which is pointed by user by color
  2. Always place the moving object at the center of the screen, by rotating the camera to the direction where the object moves
  3. Save the video for future analysis

Achievement in brief

This dissertation presents a pan tilt moving object tracking camera system. This system takes a video input from the camera. Desktop application shows the captured video to the user. Then he/she can point any object in the video. Then application processes the video and isolates the pointed object. It calculates the position of the object. Send the position to the Microcontroller. Microcontroller rotates the servo motor mechanism, which the camera is attached to keep the pointed object at the center of the display screen. These all steps in project successfully completed.

1.5. Structure of the dissertation

The main purpose of this dissertation is presenting the overall description on the topic of “Object Tracking Automatic camera”. It is organized in the following chapters

  • Chapter 1 - Introduction gives the general overview of the proposed Object Tracking Automatic camera. And it includes the project background, motivation, goals and achievement in brief.
  • Chapter 2 - Literature survey. There are some researches and project done on the topic object tracking and object tracking with single pan tilt camera. This chapter gives a summary of those projects.
  • Chapter3 - The purpose of the chapter three is giving a description of methodology that used to develop the system
  • Chapter 4 - The design of the object tracking automatic camera.
  • Chapter 5 - Description of the implementation of the object tracking automatic camera.
  • Chapter 6 - Results of the system by presenting by the experiment. And also discuss the limitation of final developed system
  • Chapter 7 - Includes Conclusions and discusses the improvement could be achieved in the future research.

Chapters : 1 2 3 4 5 6 7

Tuesday, May 5, 2020

Press Shift key 5 times


coinpayu

What happens when you press Shift key 5 times


 
What is Shift key?
As we all know shift keys in our keyboard are use to type capital letters or other alternative upper characters. Suppose we want to type "A" or "@" then we have to press and hold the shift key and press "a" or "2" keys to get the "A" or "@" characters. 
IF the Caps Lock is enabled in our key board press and hold and press letter key will gave the lower case of that letter. (Not in OS X).
In Windows environment if we press and hold the shift key and press delete button while selecting a file or folder, the file or folder will delete without moving to recycle bin.
Shift key 5 times
In Windows environment have you ever tried to press the shift key five times? If so you may got a dialog box as follows


As the texts in the picture shows, when pressed the shift key five times it Turn on Sticky Keys. When Sticky keys turned on we can use some keyboard key combination shortcuts with pressing one key at a time.
Example - for cut we use Ctrl + x. But if we enable sticky keys we can press Ctrl and release it and then press the x key which gives the same result.

In the next article I will show you how to use this sticky key application in Windows XP to reset its login password. I mean hack the Windows XP password.

Featured Post

Data recovery of CCTV DVR systems which have Proprietary OS and Proprietary file systems - Literature Review

Abstract The purpose of this study is to explore some different ways of extracting data from closed-circuit television (CCTV) Digital video...

Popular Posts