Comments (3)
Still need more image overlays: "bryanize", "nathanize", smily, mask, cat
See if djhalliday can create overlay images
from obscuracam.
Add constants in ImageRegion.java
/*
* Add each ObscureMethod to this list and update the
* createObscuredBitmap method in ImageEditor
*/
public static final int BLUR = 0; // BlurObscure
public static final int ANON = 1; // AnonObscure
public static final int SOLID = 2; // PaintSquareObscure
public static final int PIXELIZE = 3; // PixelizeObscure
int obscureType = SOLID;
Add code segment in quick action area:
anonObscureAction = new ActionItem();
anonObscureAction.setTitle("Anonomize Obscure");
anonObscureAction.setIcon(this.getResources().getDrawable(R.drawable.ic_context_destroy));
anonObscureAction.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
qa.dismiss();
whatToDo = OBSCURE;
obscureType = ANON;
}
});
qa.addActionItem(anonObscureAction);
from obscuracam.
Also add code segment to ImageEditor.java createObscuredBitmap
while (i.hasNext())
{
ImageRegion currentRegion = i.next();
// Would like this to not be dependent on knowing the relationship between
// the classes and the constants in ImageRegion. Would like there to be a
// method within ImageRegion that creates the ObscureMethod object and passes
// it back. Right now though, all of the ObscureMethods take in different
// arguments which makes it painful.
// Select the ObscureMethod as contained in the ImageRegion
ObscureMethod om;
switch (currentRegion.obscureType) {
case ImageRegion.BLUR:
Log.v(LOGTAG,"obscureType: BLUR");
om = new BlurObscure(obscuredBmp);
break;
case ImageRegion.ANON:
Log.v(LOGTAG,"obscureType: ANON");
om = new AnonObscure(this.getApplicationContext(), obscuredBmp, obscuredPaint);
break;
from obscuracam.
Related Issues (20)
- Guardian Project F-Droid Repo is out of date HOT 1
- Freezing after launching HOT 2
- Implement video sanitize function
- Reduce frame size (not just compress) for video
- Logo Contribution
- Unable to share video in ObscuraCam.
- App brings me to homescreen while i select any image in others album.
- App crashes when I take photo with picsArt and rotatey phone in landscape mode.
- Add Swedish translation
- Share error "cannot write tempfile" because no initial "ask permission dialog" HOT 3
- Videos, Gifs are Not Working
- Update ObscuraCam Icons and menu
- crash opening an image from within ObscuraCam, cannot write HOT 1
- Google Console Request HOT 1
- App is not recognized as Camera app and cannot be used/set as default since Android 11 HOT 2
- Area resizing unreliable and limited when zoomed in a lot
- Allow control of quality output
- Allow persistent configuration of face detect - ie, let me turn it off
- Light Theme
- Obscuring faces in videos HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obscuracam.