Author Archives: Razib Chandra Deb

About Razib Chandra Deb

I completed my BSc in CSE from CSE Department of KUET. Currently I am working as a Software Engineer in Samsung R&D Institute Bangladesh(SRBD). I am interested in image processing.

C++11 auto className::functionName(Parameters..) -> Type


A few days ago I found a totally new syntax like auto ClassName::functionName() -> something. Then I started to find out what does it mean and got my answer. Today I am going to share this. Lets we have a … Continue reading

Posted in C++ | Tagged , , | Leave a comment

Skin Detection in C++ using OpenCV


Today I am going to share how to detect the human skin using YCbCr color space in OpenCV. It is very easy. Here I made an class that will detect the skin.

Posted in Image Processing | Tagged , , , , , , | 25 Comments

How to check whether a character is from English language or not in Objective-C


Last day I needed to check the UITextField ‘s text whether it is from English language or other Unicode character form other language. And also how many characters are form English language and how many from others? Here is how … Continue reading

Posted in CodeProject, iPhone | Tagged , , , , , | Leave a comment

UITextField Custom Input Accessory View Class


Sometimes we need an accessory view of uitextfield to perform some action like hide the keyboard. To solve this I create a class which will add a toolbar on top of the keyboard holding a done button. If done button … Continue reading

Posted in CodeProject, iPhone | Tagged , , , , | 1 Comment

2012 in review


The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog. Here’s an excerpt: 4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 33,000 views in 2012. If each view were a film, this … Continue reading

Posted in Uncategorized | Leave a comment

[[UIDevice currentDevice] orientation] is not working for iPad


Today I face a problem in developing my app for iPad. I am checking the current orientation of my device using the following function and checking weather it is in Portrait or Landscape mode. This was working for iPhone 5.1 … Continue reading

Posted in iPhone | Tagged , , , , , , | 1 Comment

Hide UINavigationBar LeftBarButtonItem & add custom UIButton in iOS 4.3 and iOS 5.1


You can easily hide the UINavigationBar LeftBarButton. But the problem is your way may not work for both iOS 4.3 & iOS 5.1. I just find a way that work in both iOS Code is:

Posted in Uncategorized | Tagged , , , , , | 2 Comments