Hi guys i want to create a OCR in Actionscript 3. At first i thought that i would create a neural network in AS3. But, it's very difficult. Any guidelines on how to proceed would be helpful.
I found this: http://code.google.com/p/zeez/
If you go to the ZeezSample.fla you need to change the main stage class to ZeezSample. It was set to a non-existent file thus the .fla was useless. With that tweak you can see the algo at work. I'm trying to find a way to trim this down and simply recognize a few basic numbers in a flash bitmap / bitmapdata pulled from a webcam.
Cheers!
You could use Alchemy and find a C/C++ library which you would then wrapp for AS3.
I found this one, but I never tried it: http://code.google.com/p/as3ocr/
Related
I was working on a cocos2d-x project. Its a simple game. Everything is working right apart from collision. Though, It is working but collision is not very realistic. I browsed and discovered something called - Physics Editor. I read tutorials from - http://www.codeandweb.com. It generates a .plist of your sprite. I'm making game for android in c++.
Now the problem -
How to use that .plist with cocos2d-x V3.8. Is it a good idea to make collision detection better this way?
I want to start with box2d and chipmunk but there are no good and new tutorials. In case you have anything, Feel free to suggest. Thanks is advance !
Actually Physics Editor itself provides special C++ class for loading its plist and creating PhysicsObjects from it.
You can easily get it on github: https://github.com/CodeAndWeb/PhysicsEditor-Loaders/tree/master/cocos2d-x
I have got one sily question. I write a game in libgdx. But my friend always use actors and sprites. But i dont use this class. In all parts or elements of game i extends Sprite. Then i use a array list for using to save elements.
I write game like that: reading input, update, check collision and render. Its ok or not ?
There is no fixed way to go from A to B in programming. I have made a couple of good functioning games without the use of the stage and sprite class. These classes just help you get things done quicker. So yes you can write good games without the use of actors/sprites. It is even possible to write good games without the use of OpenGL or DirectX and create your own graphics library, but why should we? If you know what Scene2D and the sprite class can do for you it is kinda ignorant to leave them aside if they can help you.
It often takes little time to learn a certain library/extension. Once we know how to use it there will be profit for life.
I'm a newbie in 2d game programming. I currently use for my project libgdx framework. I want create particles effect but the particle editor that came with library is not very easy for me. Is there a possibility to use different program to create particles and use with libgdx?
Right now this is the only Particle Editor with support for Libgdx. You may use another one. But you would need to write a loader for it. Which is much harder than learning how to use the Libgdx one.
I advice you to take some time to learn it. Its worth it.
I'm making an app in which I need to make some photo effects similar to Instagram's effects. I was wondering if it's possible to somehow emulate the work of Photoshop's color levels in AS3.
I've tried using AdjustColor, ColorMatrixFilter and ColorTransform classes but desired image is very hard to achieve using those.
So does anyone have a solution easier than that? or maybe someone knows a library that I couldn't find on Google?
You should have a look at Joa's image processing library.
Have a look on this library:
http://peternitsch.net/bitmapdata.js/
This is actually implemented in Javascript, but it's based on the Flash API. All You need is there. Or i can recommend Foundation ActionScript 3.0 Image Effects by Todd Yard.
Flash API reference is another good resource for inspiration.
There is another good resource for pixel manipulation found here: http://evanw.github.com/webgl-filter/. This is done in WebGL but if your target API is still Flash, then you can easily transposed the GLSL language into Pixelbender and inject the shader
into the Flash by making reference to the pbj file.
Check Grant Skinner's TweenMax plugins, especially ColorMatrixFilter.
I have seen tutorials on creating a 3d character in flash. Is there a way to manipulate (animate and move) this 3d character with actionscript 3? If so, could you guide me with some links?
Thanks
You will need to do a bit of reading up on a 3rd party library to help you to achieve this. One such library is Away 3D which can be used to manipulate 3d characters in Flash.
The process goes like:
Build a model in a 3D package
Load it in to away3d
I am not certain but I think animations are supported in a Collada file but its moving so fast that maybe other formats are supported. I know they were working on their own format.
Anyway if you head over there and maybe post on their forums or look at some of the examples, you should get the idea.