opencv2 creating bubble/ball game [closed]

asked 2019-01-02 13:35:06 -0600

AdigTiwari gravatar image

I have got the attached code for bubble game but the same is created in cv instead of cv2. So will there be any way to convert the code to cv2 as in opencv 3.5 the cv2.cv module has been removed.

Please help me to get the bubble game or convert the following code to cv2 ?

https://github.com/omailson/movement

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by LBerger
close date 2019-01-02 13:52:44.946044

Comments

You want us to translate code and then you will be able to play ?

Start to translate and come back with a real problem.

LBerger gravatar imageLBerger ( 2019-01-02 13:52:19 -0600 )edit

7 year old, unmaintained code ... -- NO, you NEVER want to touch that at all.

berak gravatar imageberak ( 2019-01-02 18:30:28 -0600 )edit

@AdigTiwari .I can't post code here, because it is closing section by moderators. Ca you email me? supra56 with google. So we can work as teams.

supra56 gravatar imagesupra56 ( 2019-01-02 21:48:04 -0600 )edit

@moderators. Why can't I post code in comment?

supra56 gravatar imagesupra56 ( 2019-01-02 21:51:14 -0600 )edit

Can I translate the code and ask for the error resolution over here itself ?

AdigTiwari gravatar imageAdigTiwari ( 2019-01-03 00:34:31 -0600 )edit

@Supra, you can (aldo you can format it using Ctrl-k), it's just limited to a few lines. better write an answer, if you have one.

berak gravatar imageberak ( 2019-01-03 00:38:08 -0600 )edit

@AdigTiwari you can post a new question with a real opencv problem : how to translate this function? Why have got this error?...

You are welcome

LBerger gravatar imageLBerger ( 2019-01-03 02:14:29 -0600 )edit

@AdigTiwari. Still waiting if you want to exchange source code.

supra56 gravatar imagesupra56 ( 2019-01-03 20:24:58 -0600 )edit

@Supra, I am currently working on the translation of the code from cv to cv2 I want to exchang the code.

AdigTiwari gravatar imageAdigTiwari ( 2019-01-04 06:44:48 -0600 )edit

AdigTiwari. I got code working. But random balls in not showing. I can send to you. I merely got 95%.

supra56 gravatar imagesupra56 ( 2019-01-04 06:51:49 -0600 )edit