5 Must-Have Features in a the detector

Author: Liang

Feb. 04, 2024

169

0

0

Tags: Machinery

Feature Detection and Matching

By: Caleb Woodruff

Computer Vision, CSE 576, Spring 2013, Project 1

Introduction

For this project we wish to recognize features across multiple images.� This is necessary for finding the relative positioning of two images so they can be stitched together or the motion of the imager between images can be estimated.� Motion estimation is particularly useful to robotics as a way to estimate things like motion of your vehicle.

For this project we start by implementing a basic Harris corner feature detector and a simple 5x5 rectangular window descriptor. We implement a more sophisticated feature descriptor that is less susceptible to error from rotation and scaling of the different images. To accomplish this we implemented the features from the Speeded Up Robust Features�[1] (SURF) paper found here. These features can be scale invariant but for that to be true we must look for features at multiple scales so we also implemented the feature detector described in the paper.� Finally we run benchmarks and compare the results from the basic detector/feature combination, our multi-scale detector and SURF features, and the SIFT results provided for this project.

Harris Corners

The Harris corner detector works by taking horizontal and vertical derivatives of the image and looking for areas where both are high, this is quantified by the Harris corner descriptor which is defined in our case as the matrix �and the descriptor is . We define a feature as a point that is a local maximum on a 3x3 area and is above a threshold that is found through experimentation.

Figure 1. Example image from the Yosemite data set (left) with Harris values (right) shown.

Figure 2. Example image from the Graffiti data set with Harris values show on the right.

SURF

The SURF feature detector works by applying an approximate Gaussian second derivative mask to an image at many scales.� Because the feature detector applies masks along each axis and at 45 deg to the axis it is more robust to rotation than the Harris corner.� The method is very fast because of the use of an integral image where the value of a pixel (x,y) is the sum of all values in the rectangle defined by the origin and (x,y).� In such an image the sum of the pixels within a rectangle of any size in a source image can be found as the result of 4 operations.� This allows a rectangular mask of any size to be applied with very little computing time.

To detect features we assemble the Hessian matrix �where�is the convolution of the second derivative of a Gaussian with the image at the point.� The masks used are a very crude approximation and are shown in Figure 3.� The crude approximations are valuable because they can be very quickly run at any scale due to the use of an integral image.

The Hessian determinate values for the same image as Figure 3 are shown in Figure 4 for the range of detector windows that were used in this work.� Valid features are found as a local maxima over a 3x3x3 range where the third dimension is detector window size, so a feature must be locally unique over a spatial range and a range of scales.� The SURF authors used a fast search algorithm to do non-maximum suppression, we have not implemented this yet.

Figure 3. Approximated Gaussian second derivative used for the SURF detector.� This detector works well with integral images because only the sum over a rectangle is needed. On the left is the mask used for GXX and GYY and on the right is the mask used for GXY. Taken from the original SURF paper.


 

Figure 4. Surf feature values at 4 different detector sizes. Top Left = 9x9, top right = 15x15, bottom left = 21x21, bottom right = 27x27

Feature Descriptors

Having found features in the previous section we must now find some aspect of those features that can be compared among the features.� This is the descriptor.

Basic 5x5

We were assigned to implement a basic window descriptor which is the values of the 5x5 window of gray scale values centered on the feature we are describing.� This description is invariant to planar motion but fails if there are changes in lighting or rotation.

Surf Descriptor

The SURF descriptor is designed to be scale invariant and rotationally invariant.� To ignore scale the descriptor is sampled over a window that is proportional to the window size with which it was detected, that way if a scaled version of the feature is in another image the descriptor for that feature will be sampled over the same relative area.

Rotation is handled by finding the dominant direction of the feature and rotating the sampling window to align with that angle.� Once the rotated neighborhood is obtained it is divided up into 16 sub (A�i) squares, each sub square is again divided into 4 squares.� Derivatives in the x and y directions are taken in these final squares.� The descriptor for the sub square (A�i) is the sum of the x derivatives over its four quadrants, sum of the absolute values of the x derivatives and similarly for y.� The total descriptor is 4 values per (A�i) for a total of 64 values.� This vector is normalized to length 1 and is the feature descriptor.� The process is summarized in Figure 5.

Figure 5. A graphical representation of the SURF descriptor.� This figure taken from the original SURF paper.

There are a few aspects of the SURF detector and descriptor that we have not yet had time to implement.� First creating the features is a very slow process, no optimization has been done yet on this step. The SURF authors include a Gaussian weighting over the descriptor and a more efficient matching system we have not implemented these yet.� Currently our best performance is with the sum-squared-distance matching system but it ignores a lot of information that is available. An additional problem is shown in Figure 6, we haven�t created a good way of dealing with borders yet so we avoid them.� This leads to ignoring potential features near the edges of the image.

Figure 6. Matched features of Guggenheim Hall in a rotated image.� Clearly there is room for improvement.

Comparison

We ran a comparison on 4 sets of benchmark images that were provided with the project, the results are shown in Table 1.� From the data we can see that the Harris features with square descriptor work much better with the Ratio match than with the sum-square-distance metric.� The SURF feature with SURF descriptor however works much better with the sum-square-distance metric.� The SURF features also significantly outperform the Harris type.

Table 1. Results from benchmark image sets, Bikes, Graffiti, etc. are the respective areas under the ROC curve, Run Time is over all four sets of images and should be considered a rough metric as no particular care was taken to ensure no other load on the computer while benchmarking and timing was only done to the system clock second level.

Feature Type

Match Type

Bikes

Graffiti

Leuven

Wall

Run Time (s)

Harris

SSD

0.381

0.617

0.106

0.208

26

Harris

Ratio

0.513

0.517

0.474

0.565

25

SURF

SSD

0.775

0.682

0.767

0.638

121

SURF

Ratio

0.734

0.510

0.691

0.600

121

 

The image set that caused the most trouble was the Wall set because it includes a lot of areas that locally look like features but globally could fit nearly anywhere in the image.� An� example is shown in Figure 7.

The second comparison was done against the SIFT detector comparing 2 images. The original images and the ROC curves for the comparisons are shown in Figure 8 and Figure 9.� The ROC curves show that the SURF descriptor works better than the Harris detector but not as well as the SIFT descriptor.� Some reasons for this are discussed in the SURF Descriptor section and in the conclusion.

Figure 7. Example from the wall data set. Notice that every area looks like every other area.

Figure 8. ROC curve from the comparison of Yosemite1 and Yosemite2 in the Yosemite data set. The SURF detector outperforms the MOPS but not the SIFT. The comparison images are above.

 

Figure 9. ROC curve from comparison of img1 and img2 in the Graffiti data set.� The SURF detector outperforms the MOPS but not the SIFT. The comparison images are above.

Conclusion

Our implementation of the SURF detector/descriptor significantly outperformed the base implementation of the Harris detector with square descriptor.� We came much closer to the performance of SIFT. According to the authors of the SURF detector it should outperform SIFT in many cases our failure to perform at that level is most likely due to coding errors and the omission of Gaussian masks in a couple of different places.

Our implementation of SURF also runs very slowly.  The detection step is quite fast but calculating the descriptors takes a very long time.  Also many more features pass the thresh set the larger the detector window we use, this is clearly a bug and could probably be fixed by some type of normalization.  We took the SURF authors suggestion to normalize by the window size but that did not completely fix the problem.

In conclusion we have implemented a Harris feature detector, a square patch feature descriptor, and a SURF feature descriptor, in completion of the assignment. As extra credit I have implemented a SURF feature detector which was necessary for the SURF descriptor.

 

Bibliography

[1]

H. Bay, T. Tuytelaars and L. Van Gool, "SURF: Speeded Up Robust Features," in Computer Vision - ECCV 2006, Graz, Austria, 2006.

 

 

 

 

 

You know that security is vital to keep the residents, staff, and visitors at your property safe. But how do you assemble an apartment building security system that will cover all your top safety concerns? From intercoms to gates, this guide covers the five most crucial security system features to protect your property from common threats like package theft, vandalism, and burglaries.

This guide covers:

 

What is an apartment building security system?

An apartment building security system is a network of devices that work together to protect an apartment building from things like theft, vandalism, break-ins, fires, and other dangers.

Security for apartments will vary depending on the building’s location, size, and other factors. So before selecting your apartment security system, you’ll want to consider which items are most relevant to your property.

 

Common safety issues at apartments

  • Package theft: Billions of dollars worth of packages are stolen every year. As online shopping increases in popularity, so does package theft. But did you know that 40% of package theft happens in multifamily communities like apartments? Preventing package theft should be a top priority for all apartment buildings.
  • Burglaries: You can’t count on residents to always secure apartments themselves, and burglars know this. Not only are burglaries costly to your residents, but they can also result in expensive damage to the building’s windows and doors.
  • Squatting: You can’t be everywhere at once, so monitoring vacant units can be overwhelming. The issue of people squatting in apartments is widespread but affects some regions more than others.
  • Air quality: While not all air pollutants are harmful, carbon monoxide gas is a dangerous threat. It is highly toxic and odorless, so it can go unnoticed long enough to poison your staff and residents.
  • Bike theft: Unlike cars, bikes are almost impossible to relocate after they’re stolen. As a result, bikes are a frequent target for theft. Even buildings with a bike room for storage can experience theft.
  • Fire safety: Preventing and identifying fires in your building should be a top priority. Not only is fire damage expensive, but smoke inhalation is also poisonous. Carefully follow fire prevention guidelines to keep your staff, property, and residents safe.

You can also survey staff and residents to learn more about their biggest safety concerns; some of them may surprise you.

 

 

The top 5 features for an apartment building security system

To address the top safety concerns listed above, your building will need a network of security solutions that all work together. But, thanks to modern technology, it’s easier than ever to keep your property safe. All it takes is some research and investing in the right solutions for the job.

5 features of an apartment building security system:

 

1. Access control system

Access control is the most critical part of an apartment building security system. To secure people and property in your apartment building, you need to control who enters the property. And some of today’s systems even allow you to manage access into specific rooms at specific times.

Going beyond traditional metal locks and keys to include a smart access control solution will improve the safety and convenience of living in your apartment building.

Look for an access control system with the following features:

  • Wireless: Since there’s wiring, wireless access control systems are quick and inexpensive to install. You want a building access control system that saves your staff time, which applies to the installation process.
  • Cloud-based software: With a cloud-based access control system, you manage access from anywhere, and your data is safely stored in the cloud. Administrators can assign access permissions from the access management dashboard and view an audit trail of everyone who enters the building.
  • Delivery management: Apartment residents get a lot of deliveries from packages to takeout meals. So, it’s essential to make sure the access control solution you choose includes a package delivery system.
  • Mobile app: Convenience is a top priority for apartment residents. When your access control system has a mobile app, residents don’t have to worry about carrying keys or fobs, and your staff doesn’t have to spend time remaking them. With a mobile app, residents can also let couriers in when they’re not home, preventing package theft.
  • Live video footage: For enhanced security, choose an access control system that includes real-time video footage. Choose a system that allows for two-way video calling so residents can video chat with their visitors. Video access also lets you make sure only authorized people are entering the property.

 

Watch how ButterflyMX works:

 

2. Security gates

Installing a security gate at your property will also enhance the efficacy of your access control system. The physical barrier created by a gate helps you manage vehicle and pedestrian access at your property.

Critical factors for choosing a security gate:

  • Space: Consider where you plan on putting the gate and what it needs to do. Gates for vehicle access will need a larger area than pedestrian access.
  • Traffic: If more people and vehicles come and go through your gated entrance, it’s essential to plan accordingly. Electric gates are better equipped for high traffic than manual gates.
  • Video intercom: Make sure to install a video intercom at your gated entrance to increase security. Integrating your gate with the rest of your access control system will be more secure and convenient.

 

3. Surveillance cameras

Placing security and doorbell cameras throughout your property adds extra security that your residents may even view as an amenity. Residents feel more at ease knowing an apartment camera system surveils their building. They also enjoy being able to monitor their front door with a doorbell camera.

Important locations to cover with security cameras:

  • Parking lots and garages
  • Outdoor amenities
  • Bike storage
  • Package rooms
  • Service entrances

If you already have a video intercom system, placing surveillance cameras at your apartment building’s front door is optional. However, the more cameras you have, the better covered your property will be.

 

 

4. Door and window sensors

Door and window sensors are among the best alarm system for apartments. The sensors are placed inside a door or window and activate when the door or window opens. You can program these sensors only to be active at certain times of the day, such as at night. Thanks to recent smart home technology trends, you can also invest in smartphone-based sensors that residents can control from an app.

While some developers also opt to install motion sensors near doors to prompt them to unlock when a tenant approaches, a push-to-exit button is a cheaper alternative that many tenants are familiar with.

 

5. Smoke and carbon monoxide detectors

Smoke and carbon monoxide detectors may not top a standard list of amenities, but investing in quality detectors is an integral part of home security for apartments. Smart sensors may be more expensive than the traditional alternative; however, they are worth the investment, and many companies may offer a bulk discount.

Smart detectors, like Google Nest Protect, connect to the internet so your staff and residents can monitor sensors from their smartphones. No more poking the smoke detector with a broom when you accidentally burn something in the kitchen. With a smart detector, the resident can turn the alarm off from an app.

 

Additional apartment security features to consider for your building

  • Smart locks: Traditional metal keys are quickly becoming obsolete. Create a streamlined keyless entry system for residents by installing smart locks throughout the property. Combining smart locks with a ButterflyMX intercom system, your residents can get from the street to their couch using just their smartphone.
  • Package rooms: Your building access control system prevents theft at the entrance of the building. But staff can still end up spending time managing deliveries instead of other more important tasks. With a package room, delivery couriers drop packages in a dedicated, organized space for residents to pick up at their leisure.
  • Front desk station: Almost every part of your property can be enhanced with smart technology, and that includes the front desk. With a front desk station, ButterflyMX-enabled software manages access to your building remotely. What’s more, the front desk station empowers you to see and speak to visitors through the video intercom at your building’s entrance and grant access.
  • Elevator access control: Elevators are an essential part of your apartment building but are often overlooked from a security perspective. But elevators provide access to every floor within your building, so managing who can access each floor adds an extra layer of security for your residents.

 

5 Must-Have Features in a the detector

The Top 5 Apartment Building Security System Features

Comments

Please Join Us to post.

0

0/2000

Guest Posts

If you are interested in sending in a Guest Blogger Submission,welcome to write for us.

Your Name: (required)

Your Email: (required)

Subject:

Your Message: (required)

0/2000