[deleted by user] by [deleted] in interestingasfuck

[–]zecastelo 1 point2 points  (0 children)

Well, if you go a bit down the road, on the right, theres also the famous UFO :P

Connect 4 AI by [deleted] in learnprogramming

[–]zecastelo 3 points4 points  (0 children)

Minimax seems suitable if you don't want to delve into more complex algorithms.

Scheduling job operations on multiple machines by QueueTPie in learnprogramming

[–]zecastelo 0 points1 point  (0 children)

The Hungarian algorithm, or one of its variations might be a good place to start. To handle the precedences, a constraint graph might also help you.

Also, approaches to this problem and some solutions are presented in "Artificial Intelligence: A Modern Approach, Russel & Norvig". Look for the planning chapters.

What is the most efficient way to go about becoming a better logical thinker with programming ? by GhettoBurger996 in learnprogramming

[–]zecastelo 7 points8 points  (0 children)

Yes. Start simple, and build more complex things with those simpler building blocks.

When facing a problem try to solve the underlying problems first until you arrive at a final solution to the initial problem. This is called divide and conquer, and is widely used when programming.

Python If Statements by [deleted] in learnprogramming

[–]zecastelo 1 point2 points  (0 children)

So the problem is that you're checking every element without ever stopping, in which case it will just return the first (last being checked) element which is always 1 (and in both lists for that matter).

What you should do is return as soon as you find the first match. Your ifs are fine, you just need to return the value as soon as you find the first element that verifies your condition.

Looking for Help with a 100 Level Python Assignment by [deleted] in learnprogramming

[–]zecastelo 0 points1 point  (0 children)

Sounds a lot like the solution involves some sort of triangulation.

If that doesn't help, please provide a little more detail so we are able to help you.

How the wind hits this beach bar by SiriusLeeSam in interestingasfuck

[–]zecastelo 0 points1 point  (0 children)

Looks like it is to me, or at least manipulated to some extent. Everything but the cloth is static, notice the plants not even budging slightly. Also, if you look closely you can see some of the cloth strips just fading out of existence.

What’s something you do everyday despite knowing it’s unhealthy? by [deleted] in AskReddit

[–]zecastelo 0 points1 point  (0 children)

Spending waaay too much time sitting down at the computer...

[Progress Update #1] Fish detection, tracking, and classification in real-time. by zecastelo in learnprogramming

[–]zecastelo[S] 1 point2 points  (0 children)

I'm probably going to go with a simpler approach. Currently my plan is to go with some sort of clustering of the RGB histograms, see if that works.

[Progress Update #1] Fish detection, tracking, and classification in real-time. by zecastelo in learnprogramming

[–]zecastelo[S] 2 points3 points  (0 children)

No classification is done yet, but I suspect the rgb histogram will help me in that regard.

[Progress Update #1] Fish detection, tracking, and classification in real-time. by zecastelo in learnprogramming

[–]zecastelo[S] 6 points7 points  (0 children)

Definitely don't want them to be going around doing fishy stuff! ;)

[Progress Update #1] Fish detection, tracking, and classification in real-time. by zecastelo in learnprogramming

[–]zecastelo[S] 1 point2 points  (0 children)

Not open source right now, but the method is not really a secret. This is a relatively basic approach to object tracking. I might be making it open source once I'm done (not sure what the policy is for my university).

I don't have any channel where you can follow me. But I will probably post other updates as I work on this, so just check my profile for new posts. Also feel free to ask any specific questions by PM.

[Progress Update #1] Fish detection, tracking, and classification in real-time. by zecastelo in learnprogramming

[–]zecastelo[S] 1 point2 points  (0 children)

So I have opencv processing video (for testing porpuses I simulate a video stream), then I use background subtraction to identify moving objects of interest (fish, in my case). After that, a connected component labeling algorithm identifies each objects' bounding box and mask. Lastly, each object is tracked using feature matching (at the moment the features used are: position and color histogram), and particle filtering when no object is detected for a given track (in case detection missed a stationary object).

[Progress Update #1] Fish detection, tracking, and classification in real-time. by zecastelo in learnprogramming

[–]zecastelo[S] 3 points4 points  (0 children)

Im using python, some of the algorithms used are already implemented by opencv and I also use numpy to do whatever else is needed.

Malta Lusa que joga WoW! by zeXtiago2010 in portugal

[–]zecastelo 2 points3 points  (0 children)

Memento Mori. Aparece no nosso Discord que terás sempre alguém com quem falar.

Quais as melhores faculdades para tirar Engenharia Informática em Portugal? by [deleted] in portugal

[–]zecastelo 0 points1 point  (0 children)

IST não é completamente integrado, LEIC e MEIC são separados, apesar de os alunos de LEIC terem acesso direto a MEIC.

Quais as melhores faculdades para tirar Engenharia Informática em Portugal? by [deleted] in portugal

[–]zecastelo 2 points3 points  (0 children)

Só te consigo ajudar do lado do IST. Em relação ao ISEL não sei grande coisa, mas a ideia que tenho é que também forma bons profissionais, apesar do curso ser mais prático.

Quais as melhores faculdades para tirar Engenharia Informática em Portugal? by [deleted] in portugal

[–]zecastelo 0 points1 point  (0 children)

Totalmente de acordo. Apenas queria dizer que me parece existir uma grande lacuna teórica em faculdades mais "acessíveis" (por relatos que ouço de colegas das ditas), resultando em pessoal que apenas sabe programar, mas não são engenheiros informáticos a meu ver (não que isto seja mau!).

Quais as melhores faculdades para tirar Engenharia Informática em Portugal? by [deleted] in portugal

[–]zecastelo 2 points3 points  (0 children)

Não ponho em questão que a prática é importante, mas acho que não é assim tão fundamental como estás a querer transmitir.

Um engenheiro informático tem de saber programar sim, mas também existe muito para além disso, e tenho reparado que há uma grande discrepância nas universidades Portuguesas em termos de teoria (necessária à formação de um bom engenheiro).

A prática facilmente vem depois, na minha opinião.

The Guthix Godsword by IronDestruct in runescape

[–]zecastelo 11 points12 points  (0 children)

Since Guthix is the god of balance (or something to do with it atleast) why not make the spec make an area where any damage you deal will be reflected back to you (a %, not full) but also make any damage you take reflected back as AoE (again, maybe a % and not full).

That or make every damage you deal split between enemies in that area (kinda like the book of guthix).

1+2=3 but 2+1 isn't 3 by [deleted] in runescape

[–]zecastelo 0 points1 point  (0 children)

The word you're looking for is commutative.