Using AI to Catch a Thief in Flic-en-Flac

A thief stole a bicycle on my porch and we have CCTV cameras installed. However, witnesses couldn’t recall the exact time, leaving us with three full days of footage to review. Watching it manually was impractical, especially since the mobile app couldn’t fast-forward remotely as it was not on the same LAN as the DVR.

We downloaded all 65 video files from the DVR, but even that was daunting. That’s when I turned to AI.

Using AI to Solve the Problem

I asked ChatGPT to write a Python script to detect bicycles in the footage.

The script worked immediately, but after some testing, I adjusted it to detect people instead—making it faster and more efficient.

It saved only frames with detected persons, reducing hours of video to just the important clips.

Tools and Setup

I ran the script on an Ubuntu machine with an NVIDIA RTX 4070 ti super GPU, which processed the footage quickly. What would have taken days was done in almost 3 to 4 hours.

The Moment of Truth

Reviewing the condensed clips, I finally found the thief on camera, riding away with the bicycle.

What do you think is the proper way to bring justice?

 

 

 

 

 

 

 

Trip to Madagascar: What is Diurnal Air Temperature Variation?

I was told Madagascar is almost same climate to Mauritius. So I did some research and indeed. The temperature matches that of Mauritius. I see Antananarivo will be 19 to 23 degree Celsius.

It would be kinda comparable to a Curepipe temperature in Mauritius.

But then I noticed something else. Have a look at the minimum and maximum temperature difference. In Mauritius is it around 5 degrees (23 – 18). But in Madagascar, it’s like 13 degrees ( 23 – 10).

During the day you may be fine wearing just a t-shirt

But on other occasions or at night, you might need to have 2 sweaters and 1 t-shirt.

 

But it’s alright. Just be prepared and you’ll be fine 🙂

The Cornman and The Hen

There was once this man who whenever he saw a hen, he started running away as fast as he could. His friends asked him what’s the matter with him and hens? He replied: “I am a maize kernel. If the hen sees me, she will eat me”.

His friends spent lots of time and efforts to convince him that he’s not a maize kernel but rather he is a man!!!

Few days went by and the guys sees a hen nearby and his friends watched his reaction. As soon as the guy noticed the hen, he ran away as soon as he could. His friends asked him why did he run away? He replied: “I know that I am not a maize kernel but does the hen know that?”

I laughed at the joke when my cousin told me this like 20 years ago while we were still kids.

I have been rejected multiple times in my life in different areas. I feel down. I feel useless. I want everything to stop. I want to go back to my cocoon. Then I say to myself: No! You’re awesome. You’ve accomplished so much in your life. You matter.

But then the other side of my brain says: Yeah. We know that you are awesome but do the people around you know that too?

Mid Journey

You decide to carpool with your friend who has a car from Curepipe to Portlouis to go fetch a treasure. The journey would take Rs 200 fuel so she tells you to pay half of that. The treasure will be split.

But midway, your friend says that she will stop at Reduit instead. No problem you say. You give her Rs 100 and you continue your journey via bus. But she locks the door instantly.

She tells you to give Rs 50,000 instead for the journey because she bought her car with lots of money and it took her 2 years to get the license. WTF? How will you get Rs 50k and Rs 30 more to continue your journey?

Getting my Johnson & Johnson Jennsen Vaccine in Mauritius

I trust science. But you can never over-trust. Politics, money is involved. Authorities can never be trusted. But still I decided to get J&J since it’s a 1 dose vaccine only. I’ll have to handle the pain only once.

I went to the Trou-aux-Cerf gymnasium at 14:00. I left there at 14:45. Very quick.

I felt arm pain for 2 days. Felt very tired for 3 days. Had to take a day off from work to rest (which didn’t actually happen since clients called me and I had to fix things urgently).