r/computervision • • 28d ago

Help: Project First time using CV

I am currently working on a project for college where the goal is to build a drone capable of detecting specific objects. I have experience in web-design and big data-processing, but nothing like any of the CV softwares.

I'm wondering what some of the veterans recommend. I'm totally clueless so forgive me if this is incorrect, but I believe that I need to choose both the model and software to implement it.

We intend to use a Raspberry Pi 5, and need it to be able to handle 5 fps. The camera isn't set in stone. Most of the code we've inherited is in python.

Thank you for your help!

1 Upvotes

9 comments sorted by

1

u/beyond-the-joystick 28d ago

If you want to learn something the best approach is trial and error. Open the OpenCV doc and start looking at it. You can also write to me and I'll try to explain something.
LLMs can do a very good job nowadays to write the code, whereas in the training part you need to be the player.

1

u/Junior_Drop4000 28d ago

The specific assignment I'm doing right now is a trade study between models and software. Through my little research, I've found the ultralytics software and the YOLO2026n model and it seems to be able to detect objects well, run on our hardware, and I've found quite a few tutorials to help me train and implement it. I've seen some criticism here on Reddit so if you have any thoughts and if my current understanding is completely wrong, please tell me

1

u/beyond-the-joystick 27d ago

Your idea of using YOLO26n is a good starting point, especially since the nano models are designed for resource-constrained hardware.
You can train your model using Ultralytics on a more powerful computer, export it to a lightweight format such as NCNN, and then run it on your Raspberry Pi 5.
I'd also recommend looking into OpenCV for camera integration and image processing. NCNN is particularly interesting because it's optimised for ARM-based embedded devices.
Good luck with your project!

2

u/Striking_Shape5174 28d ago

just chat with chatgpt/codex whatever you want, wait for 5min, and done. Of course, training takes longer time.

about running it on a Raspberry Pi, I think you will need to export the model into a right format. You can try and test which one runs fastest on your device.

Good luck

1

u/bfyvfftujijg 27d ago

Tbh this is the way.

AI coding is basically designed to deal with situations where you don’t know what to do and only need a good enough solution.

It’ll get you 80% of what a full time CV engineer could. 90% of what you could do if you dedicate yourself to CV for a few months.

1

u/cleversmoke 28d ago

Start with some footage to get a baseline of what's possible and then work your way down to edge compute and Raspberry PI. Don't focus too much on live processing yet, but make sure that's a constraint goal.

1

u/biskuitkelapa 27d ago

Maybe focus on defining the problem first, before choosing the model or software.

The main challenge isn't just getting 5 FPS, but making sure the system can detect the right objects reliably under actual flight conditions.

A couple of questions:

  • What specific objects are you trying to detect, and how small will they appear in the camera images?
  • Does the detection need to run in real time while the drone is flying, or can you tolerate some processing delay?

I'd start with a simple baseline, test it on the actual hardware, and use the results to decide what needs to be optimized.

1

u/nian2326076 24d ago

You'll need to choose a model for object detection, and a good option is YOLO (You Only Look Once), which works well on a Raspberry Pi for real-time applications. There are many resources online to help you get started with YOLO in Python.

To explore job opportunities in computer vision, you can use LandOffer to find relevant positions that match your skills and interests.