L
L
Lord_kazu2021-05-17 21:05:09
Genetic Algorithms
Lord_kazu, 2021-05-17 21:05:09

Python Genetic Algorithm. How to cross object coordinates?

I have a dataset in which there are 10000 scenes with objects (boxes), objects have exact coordinates and I have an algorithm for comparing images (generated scenes with real photo boxes).
The essence of the task is this: take the coordinates of the boxes from the scenes that are most similar to a real photo, and cross these coordinates using a genetic algorithm.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fivehouse, 2021-05-17
@fivehouse

Coordinates (like any data) are crossed in a standard GA way. Represent coordinates as a binary string of fixed length. The result of crossing the coordinates of 2 boxes will be the beginning of the line from one box, and after a random length, the continuation of the line from the other box. All.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question